| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If sys is compiled on a Linux 3.X system, it returns LINUX3 instead of
LINUX2 for sys.platform.upper().
Change-Id: I78dae37d4facbaf6513c0eab651b1a06b93949b2
|
| |\ \ \ \ \ \ \ |
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Related to blueprint internal-uuids.
Change-Id: I547e4c5c06d761c2d7c6c7635fd365834b3c5347
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Related to blueprint internal-uuids.
Remove instance_id references in tests
change tests in test_compute to use _create_fake_instance instead of
_create_instance in order to save a db lookup and not depend on id
Make tests in test_compute more readable
Change-Id: Icbfa12c5e29468a06176a9958f80ba3ce414ac7b
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Related to blueprint untie-nova-network-models.
Depends-On: I665f402fe0ab1b301ab6761e80b11b101656065e
Change-Id: I9bfb957effe0a2420c312add1cca5d7af509579d
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Related to blueprint internal-uuids.
This patchset also attempts a major overhaul of run_instance so that the
code is cleaner and easier to understand (no more global-style
variables!)
Change-Id: I2289f3c253c6246ea51395b2dcfccee2256a2813
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | |
| | | | | | | |
instance_name instead of instance_id. The abstract class virt.ComputeDriver defines get_info as: def get_info(self, instance_name). blueprint: internal-uuids"
|
| | | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
instance_name instead of instance_id.
The abstract class virt.ComputeDriver defines get_info as:
def get_info(self, instance_name).
blueprint: internal-uuids
Change-Id: Ibe5e19f038e66f12711654eab48ba620aae4ace6
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These args are now just part of APIRequest since commit 2491c2484.
Change-Id: I5983681d993735bd8891dc3a6a3a3530d41a6790
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In http://review.openstack.org/1834 it was discovered that a
bool-from-volume code path in nova/compute/manager.py can never be
reached.
The code is basically:
if ((bdm['snapshot_id'] is not None) and
(bdm['volume_id'] is None)):
vol = volume_api.create(context, ...)
...
bdm['volume_id'] = vol['id']
if ((bdm['snapshot_id'] is not None) and
(bdm['volume_id'] is None)):
...
raise exception.ApiError(...)
(after applying De Morgan's laws to the expression in the second if
statement, that is)
It's obvious that the code path can only be reached if the volume
API's create() method can return a volume with id=None, but it can't
ever do this.
From:
https://code.launchpad.net/~yamahata/nova/boot-from-volume-0/+merge/62419
it looks like the author originally had this check as an assertion,
which makes more sense, but changed it to the current code following a
review comment.
Change-Id: I9f85028675f5dac8ab23bd150869eca421fc2fd0
|
| |\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If libvirt was restarted, a libvirt.libvirtError was raised with error
domain libvirt.VIR_FROM_RPC when trying to use the existing connection.
Change-Id: Ib3d4ff23aadf5a0c93dde0c37c5686bf404ce9de
|
| |\ \ \ \ \ \ |
|
| | | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The syntax recently changed to add another parameter (context)
Change-Id: I984294064f26bd49facd75ca4bf4634c9ff61bc8
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Id769c217611011d77abafa529c306f780475aaf4
|
| | |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This includes a migration and a change to the
flavors extension.
update1: removing tabs from the sql files & a
quick refactoring
update2: Fixing whitespace problem in the
sqlite upgrayedd
Change-Id: I665f402fe0ab1b301ab6761e80b11b101656065e
|
| |\ \ \ \ \ |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | | |
Change-Id: I6953844bc05fb967ec8c8f792a68b97b649f1513
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Related to blueprint internal-uuids
Change-Id: I781995b95fd3fb794ad5d775e1e5822a82db9fb1
|
| |\ \ \ \ |
|
| | |/ / /
| | | |
| | | |
| | | | |
Change-Id: Ib5e68ef07f83298a53083a4b7856244afcdbca4a
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Related to blueprint internal-uuids.
Change-Id: I35f2a4c5cafde7ed8831a01cb7a2816ccbc39808
|
| |\ \ \ \ \ |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Related to blueprint internal-uuids.
Change-Id: I24aedb283493fd9128f3aa67ecb47c3b52a35844
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Related to blueprint internal-uuids.
Change-Id: Ib4406f7fd4e5d91852d63785f596014cc3979fd2
|
| |\ \ \ \ \ \ |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Check weather the instance_id passed into instance_update() is a model id
or a UUID.
Change-Id: Ic361299cdbfa5c3786815753c47a8e4f3ba6d494
|
| |\ \ \ \ \ \ |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes bug 897155
Also adds a new fake rpc implementation that tests use by default.
This speeds up the test run by ~10% on my system. We can decide to
ditch fake_rabbit at some point later..
Change-Id: I8877fad3d41ae055c15b1adff99e535c34e9ce92
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
fixes 897089
Change-Id: Iaa03c7b75abf67c78b4605c29ef1770c96c6a199
|
| | |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Related to blueprint internal-uuids. Changes power_on and power_off of instances
to use uuids. Also, fixes a test for get_actions to be more accurate. Later a
migration will need to be written for instance_get_actions to use uuids instead
of ids.
Change-Id: Id0896f4bf3f0c64a77ac9c421bad702073f2fc50
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Related to bug 852141: Converts extensions.py to using XML templates
instead of the classic XML serializer.
Change-Id: I41c9db8eb984f06222e7b42d5040afdf1e1101e8
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed some warnings like this:
DeprecationWarning: docutils.nodes.Element.set_class deprecated; append to
Element['classes'] list attribute directly
lists[i].set_class('todo_list')
Change-Id: I94e564f561f95a66e6e98767ccfaa78769b5c0f1
|
| | |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
* Fixes bug 855030
* Includes test
Change-Id: If5b874fb0e4abd567445e67141d61942866cc5ec
|
| |\ \ \
| | | |
| | | |
| | | | |
compute.manager to use instance uuid instead of instance id. blueprint internal-uuids"
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
to use instance uuid instead of instance id.
blueprint internal-uuids
Change-Id: I0db18fcbfce24d0cf1b8b9e7c8d10f657ceded0f
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Related to blueprint internal-uuids. Changes stop_instance and start_instance in
compute manager to expect uuids.
Change-Id: Ic7bdd694a4ecfb64abf5cc40a290a2a2a42465f0
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
uuids instead of instance ids. blueprint internal-uuids"
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
uuids instead of instance ids.
blueprint internal-uuids
Change-Id: I7ba998c67a6b42961657876a8eaa797aa8c29896
|
| |\ \ \ \ \ |
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Related to blueprint internal-uuids.
Change-Id: I88a3eadf0fb07b0a827039db757d00498dd1cd9c
|