dce71ece90f71907da35a29d90d86ff7a85b4747
Commit Graph

23300 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jenkins
dce71ece90 Merge "Port "Make flavors is_public option .." to v3 tree" 2013年09月05日 20:01:03 +00:00
Jenkins
a435ccb992 Merge "Handle port over-quota when allocating network for instance" 2013.2.b3 2013年09月05日 16:13:29 +00:00
Jenkins
09a26eb069 Merge "Enable libvirt driver to use the new BDM format" 2013年09月05日 16:01:37 +00:00
Jenkins
4aa55ce6a5 Merge "Adding VIF Driver to support Mellanox Plugin" 2013年09月05日 15:58:41 +00:00
Jenkins
738a1fdee8 Merge "VMware: Multiple cluster support using single compute service" 2013年09月05日 15:31:31 +00:00
Jenkins
b880ed4491 Merge "xenapi: support raw tgz image download" 2013年09月05日 15:19:03 +00:00
Jenkins
a052cb8228 Merge "xenapi: refactor - extract image_utils" 2013年09月05日 15:18:31 +00:00
Jenkins
31783bb30b Merge "xenapi: through-dev raw-tgz image upload to glance" 2013年09月05日 15:17:58 +00:00
Jenkins
63a8880c61 Merge "Refresh network info cache for secgroups" 2013年09月05日 15:17:26 +00:00
Jenkins
a433ff739e Merge "Allow block devices without device_name" 2013年09月05日 14:09:53 +00:00
Jenkins
2d78854d53 Merge "Fix typo and indent error in isolated_hosts_filter.py" 2013年09月05日 13:41:11 +00:00
Jenkins
5ee86d3fb3 Merge "Remove indirect dependency from requirements.txt" 2013年09月05日 13:13:38 +00:00
Jenkins
b4802fd0cb Merge "Deprecate conductor migration_get()" 2013年09月05日 13:12:54 +00:00
Jenkins
b5181d73dc Merge "XenAPI: Allow 10GB overhead on VHD file check size" 2013年09月05日 12:33:26 +00:00
Jenkins
fc2d2711da Merge "Fix the multi-instance quota message" 2013年09月05日 12:32:12 +00:00
Dirk Mueller
12b104751a Remove indirect dependency from requirements.txt
Only direct dependencies need to be listed in requirements.txt.
pyparsing was previously added to workaround installation ordering
issues, which is no longer necessary.
Change-Id: I45bdd1d0dabfcc7c80314c28072950cfc5a59615
2013年09月05日 08:03:21 -04:00
Jenkins
cdb89b0fb3 Merge "Port to oslo.messaging.Notifier API" 2013年09月05日 09:59:52 +00:00
Jenkins
7b829531bb Merge "Fix ArchiveTestCase on PostgreSQL" 2013年09月05日 09:59:20 +00:00
Jenkins
d49d6dadaf Merge "PCI passthrough Libvirt vm config" 2013年09月05日 09:58:48 +00:00
Jenkins
34c1fe678b Merge "Add columns_to_join to instance_update_and_get_original" 2013年09月05日 09:58:16 +00:00
Jenkins
80cb471c4d Merge "Add nova.utils.get_root_helper()" 2013年09月05日 09:51:39 +00:00
Nikola Dipanov
f9f247ef42 Enable libvirt driver to use the new BDM format
This patch makes the necessary changes in the libvirt driver to enable
it to use some of the features of the new block device mapping format.
After this patch it will be possible to set the bus, and device_type per
block device, and libvirt driver will honor these when spawning an
instance (note that attaching a volume still does not use the new data
format).
It utilizes some of the existing code in the blockinfo module to be able
to default device names (it does so by overriding the methods introduced
in I84541f8ff6e1b5978734e5def69946d014c66fdf), and also assign default
values to fields like device_type and disk_bus if it is not provided or
if it is bogus. As this implies the driver changing the block devices in
the database, a new virtapi method block_device_mapping_update is added
to accommodate this. Some of the libvirt specific code paths in the
general defaulting function in compute utils have been removed as they
are not needed since the driver now takes care of this.
Further to that, this patch modifies some of the code paths in the
libvirt driver that use the block device info directly (and not through
the blockinfo module) to be aware of the new format. Due to very nicely
factored code - there were only a few instances of this in the driver
itself.
It also overrides the libvirt driver's need_legacy_block_device_info
method to tell the compute manager to feed it the new format when
needed.
This patch concludes the blueprint: improve-block-device-handling
Change-Id: I8efd6af6706a097fb540e040a86ccbeaf131631f
2013年09月05日 10:02:00 +02:00
Nikola Dipanov
3b1f7c55c1 Allow block devices without device_name
This patch removes the check in the API that prevented having block
devices without 'device_name' and makes the compute manager capable of
guessing those names.
Before creating the instance, the manager will try to guess a valid name
using the method 'default_device_names_for_instance', which should be
implemented by the drivers, or defer to the generic function from the
utils module 'default_device_names_for_instance' which uses the already
existing 'get_device_name_for_instance' function.
It also takes care of assigning the correct device name to the root
device (boot_index=0) to make it agree with the field `root_device_name'
from the instance. If none were supplied - it will try to guess it by
calling driver 'default_root_device_name' or defer to the generic
'get_device_name_for_instance'. if driver does not provide it.
What is worth noting also is that, should the drivers override the
two methods mentioned above, the code should expect to be passed the
standard block device mapping format, and not the one used in other
driver methods.
DocImpact
Part of blueprint: improve-block-device-handling
Co-authored-by: Xavier Queralt <xqueralt@redhat.com>
Change-Id: I84541f8ff6e1b5978734e5def69946d014c66fdf
2013年09月05日 10:01:59 +02:00
Jenkins
bf437baf49 Merge "Change finish_revert_resize paths to use objects" 2013年09月05日 07:08:44 +00:00
Jenkins
7c36c5ab69 Merge "Change finish_resize paths to use objects" 2013年09月05日 07:08:12 +00:00
Jenkins
8264590f0a Merge "Ensure old style images can be resized" 2013年09月05日 07:05:44 +00:00
Jenkins
3e46707774 Merge "Safe db.api.compute_node_get_all() performance improvement" 2013年09月05日 05:56:41 +00:00
Jenkins
2fff7add7b Merge "Add missing Aggregate object tests" 2013年09月05日 05:55:25 +00:00
Jenkins
c9e211eeb2 Merge "Generalize the _make_list() function for objects" 2013年09月05日 05:54:52 +00:00
Mark McLoughlin
60a91f475a Port to oslo.messaging.Notifier API
Add a temporary nova.notifier.Notifier helper class which translates
oslo.messaging.Notifier compatible calls into openstack.common.notifier
compatible calls.
This allows us to port the notifier code over to the oslo.messaging API
before actually switching over oslo.messaging fully.
This patch contains no functional changes at all, except that all
notifications go through this temporary helper class.
Some notes on the new API:
 * The notifier API is changed so that what was previously global state
 is now encapsulated in a Notifier object. This object also includes
 the publisher_id and has error()/info()/etc. methods rather than
 just notify().
 * The notify_decorator() helper wasn't carried across to the new API
 because its semantics are a bit weird. Something along these lines
 could be added in future, though.
 * We use a fake Notifier implementation for tests because there's no
 API in oslo.messaging to actually get the notifications queued
 up in the fake notification driver, which is a bit dumb. However,
 this feels like the right thing to do anyway. We're not wanting
 to test oslo.messaging.Notifier itself, but rather we want to test
 how we call it.
blueprint: oslo-messaging
Change-Id: I262163c7e05e6a6fb79265e904ce761fc3ac5806
2013年09月05日 06:26:01 +01:00
Jenkins
11f6413dc9 Merge "VMware: Nova boot from cinder volume" 2013年09月05日 04:50:21 +00:00
Jenkins
42d5ba3c90 Merge "Remove _report_driver_status from compute/manager.py" 2013年09月05日 03:53:51 +00:00
Jenkins
6b3c57a1ae Merge "Interpret BDM None size field as 0 on compute side" 2013年09月05日 03:53:19 +00:00
Jenkins
4414a11451 Merge "Fix to disallow server name with all blank spaces (v3 API)" 2013年09月05日 03:52:47 +00:00
Jenkins
86e8a26c2b Merge "VlanManager creates superfluous quota reservations" 2013年09月05日 03:52:15 +00:00
Jenkins
4f0569cbba Merge "Use utils.execute instead of subprocess" 2013年09月05日 01:47:49 +00:00
Jenkins
28eca5936f Merge "update neutronclient to 2.3.0 minimum" 2013年09月05日 01:45:24 +00:00
Jenkins
57ccf107aa Merge "vm_state and task_state not updated during instance delete" 2013年09月05日 01:12:50 +00:00
Jenkins
6a638e99ad Merge "Adds ephemeral storage support for Hyper-V" 2013年09月05日 01:11:32 +00:00
Jenkins
ed438b2610 Merge "Adds Hyper-V VHDX support" 2013年09月05日 01:10:59 +00:00
Jenkins
df4939e28b Merge "Adds Hyper-V dynamic memory support" 2013年09月05日 01:09:56 +00:00
Vishvananda Ishaya
8679b2c8e7 Refresh network info cache for secgroups
Before updating security group rules, we need to make sure that
the info cache is up-to-date. Without this source groups are not
updated properly. This was a regression introduced in commit
85aac04704 which fixed a potential
DOS using source groups.
Fixes bug 1216720
Change-Id: I6b5115df53f2e159ea506ef966cd49cedd35f83d
2013年09月04日 17:58:30 -07:00
Jenkins
833e109cc2 Merge "Fix AggregateDBApiTestCase on PostreSQL and MySQL" 2013年09月05日 00:09:26 +00:00
Jenkins
17933ceaf3 Merge "Change resize_instance paths to use objects" 2013年09月04日 23:39:26 +00:00
Ken'ichi Ohmichi
e220baf1b1 Port "Make flavors is_public option .." to v3 tree
The following commit(I5b37fa0bb19683fe1642fd81222547d4a317054e) have
not been merged to v3 tree now, because the commit was merged to the
existing api after porting flavors.py to v3 tree.
 commit b65d506a5f
 Author: Russell Bryant <rbryant@redhat.com>
 Date: Thu Jun 27 21:00:05 2013 +0000
 Make flavors is_public option actually work
This patch ports the commit to v3 tree.
Partially implements blueprint nova-v3-api
Change-Id: I3c7f11c53594118456d0cd62eb1ddf74634b77c3
2013年09月05日 08:35:50 +09:00
Jenkins
1889c62aea Merge "Port Cheetah templates to Jinja2" 2013年09月04日 22:57:09 +00:00
Jenkins
6d4126416e Merge "Remove versioning from IOVisor APIs PATH" 2013年09月04日 22:56:37 +00:00
Dan Smith
d201d9ed66 Add missing Aggregate object tests
This file was not properly git-add'd to commit:
 f2252de974
Related to blueprint compute-api-objects
Change-Id: Ibd25f4479d49f456bcb49e3eb003edf3d4b2b334
2013年09月04日 14:27:11 -07:00
Dan Smith
ee600da2b6 Generalize the _make_list() function for objects
Each object with a list duplicated the _make_list() method in its
own module. This removes that duplication and adds a generalized
helper in objects/base.py. The instance object still uses its own
because it has to do a bunch of other stuff in the loop for
efficiency.
Change-Id: Ic910f39087ebc167b2b930979f7951116caf8598
2013年09月04日 14:27:11 -07:00
Jenkins
ff80ac8d03 Merge "Nova support for vmware cinder driver" 2013年09月04日 21:12:49 +00:00