Updates the ExtensionManager so that extensions are sorted by alias when
accessed via the get_resources or get_controller_extensions functions.
This fixes the
integrated.test_api_samples.ServersSampleAllExtensionXmlTest.test_servers_get
test which fails on Fedora 17 (but passes on Fedora 16 and apparently
some other distros as well).
Includes updated api_samples for XML that was regenerated by the
test_servers_get test.
Fixes LP Bug #1042709.
Change-Id: I82c679f457a3cd11c8a8cd76f402693b61bb14cc
Prefixing the commit message's first line with the driver makes it
easier for reviewers, at a glance, to find reviews that relate to their
area of expertise as well as improving the overall readability of the
git history.
Change-Id: I376d2cdb5dc344717fb7749a80e33ee88603e68c
Implements get_available_resource method in the PowerVM driver to
fix the failure when launching nova-compute. Also, it removes the
update_available_resource method from PowerVMDriver which is no longer
required.
Fixes bug 1040789
Change-Id: Ibc7e9b80e6d9b8ef3c1a844783a890c592517f89
Raises new exception InvalidLocalStorage instead of
InvalidSharedStorage when block migration is used with shared storage.
Corrects the message of InvalidSharedStorage.
Fixes bug 1043165
Change-Id: I68bfac3f89276edc38c00ca963911fe07456dc0d
Use disk_available_least other than free_disk_gb to consume.
assume virt disk size is consumed by instances when calculate
the available disk size.
fix bug lp:1042071
Change-Id: I82dc3bcfd97219085c624c81dfa47cbf0bcd4504
If the instance storage is shared between compute nodes, then you
need external locking which is also shared to avoid clobbering each
other's attempts to cache base images. Resolves bug 1014227.
Change-Id: Ic2ac87840904fa199c17774dae9556ad6c7a3eaf
pylint creates some files, and leaves git in a detached HEAD.
pylint can still be run via 'tox -epylint'
Change-Id: Ic0193f2488f1c6eb4a9f0fabbe24ac9869239890
Accept the list of roles from either the newer X-Roles header or the
deprecated X-Role header.
This is useful for interoperability with a software proxy in front
of Nova API that performs token authentication and might use the
older header.
Change-Id: I47e33233edf596dd14d07b6be16b030fd6bc352d
Updates the integrated.test_api_samples.ServersSampleAllExtensionXmlTest
test_servers_get function so that it doesn't try to list the line number
when the test fails.
Fixes a KeyError: '\'i\' exceptions.
Partial fix for LP Bug #1042709.
Change-Id: I666d18c1d4585cebce4534b1f16cd327850e8cdc
Regenerate to account for unused options which were removed by
commit ea06eff7e7
DocImpact: update nova.conf docs
Change-Id: I1082d2869d0b9d33747fb877efb6d99344074b2c
Commit 8718f8e47d changed the
schedule_run_instance call to create all of the db records on the
compute host, but the old code path was left in for backwards
compatibility. Unfortunately an extra reservations parameter was
left in causing the backwards compatibility to be broken.
This patch takes out the reservations parameter and commits the
reservation in the backwards compatible call.
Fixes bug 1042302
Change-Id: I1e710d1e9a992f59a18eeedcd7d71726ff96c485
If a process exits with returncode 0, the function always returns without
raising a exception, regardless of whether its check_exit_code includes 0 or
not. This patch fixes it; if check_exit_code does not includes 0 and a
process exits with 0, ProcessExecutionError is raised.
(No change required to caller-side since no one misses 0 in check_exit_code)
Change-Id: I824a9bc5e42038e27df6757cd47c06073681c342
Following the Python coding convention even though the current
code works with the *args magic.
Part of bug 1037183
Change-Id: I2be815a098913b5879d0d9b3563a55431408431c
Wrap instance['uuid'] in a list when building request_spec in
compute.api before sending it across to the scheduler on resize
regression introduced in I63bbc98c285faebec53f8e62857c01548807db68
fixes bug 1041351
Change-Id: I7cad8316171798e240bf78999cb94730c587a904
attach_datetime is not available during downgrade. It's a copy/paste
bug from the upgrade function.
Partially fix bug 1037183
Change-Id: I97e2cf98a180a6c80e59545a9cda9852fa6ac563
The following operators on instance_type_extra_specs were added in
aggregate_instance_extra_specs filter. Fixes bug 1037090.
= (equal to or greater than as a number; same as vcpus case)
== (equal to as a number)
!= (not equal to as a number)
>= (greater than or equal to as a number)
<= (less than or equal to as a number)
s== (equal to as a string)
s!= (not equal to as a string)
s>= (greater than or equal to as a string)
s> (greater than as a string)
s<= (less than or equal to as a string)
s< (less than as a string)
<in> (substring)
<or> (find one of these)
If the first word in the instance_type_extra_spec is not one of the
keywords above, a default operator "s==" is used.
E.g.: ">= 5", "s== 2.1.0", "<in> gcc", and "<or> fpu <or> gpu"
Change-Id: Iee9bf68011738aab146e6311a17cb3c673d7a392
blueprint project-specific-flavors
This change implements API extension to manage project specific flavor
types, so that non-public flavor type can only see by projects with
access rights.
Change-Id: Ie2d2c605065b0c76897f843a4548a0c984a05f1a