Merge "libvirt: fix blockinfo get_device_name helper"
rename ExtensionsResource to ExtensionsController

every other "resource" in the api is named either *Controller or just
Controller, so updating this one to match, no effect on anything.

here's a little audit of just about all the nova api calls, the stuff at
the bottom shows some stats:
https://gist.githubusercontent.com/termie/9500927/raw/ac724f0762224bc60bb79c4b0fecfdd12afe5ca7/calls

Change-Id: I71df08048d5b0fa868f68bfe9cb9176507dde3b7
Merge "Fix get_download_hander() typo"
Merge "Updated from global requirements"
VMware: ensure that deprecation does not appear for VC driver

Commit d041b95b8977e77a51e6031c38f0011b44d3266a added the
deprecation warning for the ESX driver. This warning should
not appear for the VC driver.

Change-Id: Ide7b47afbd9e7e4c66a4cdc621fbf511b9c3c953
Closes-bug: #1291238
VMware: raise an exception for unsupported disk formats

At the moment 'vmdk' and 'iso' are the only disk formats supported.
If an invalid format is passed with the image then the driver will
throw and exception.

Change-Id: I834856f33a0644bc03b89a2b98e4e188c112e338
Closes-bug: #1287844
Recover from REBOOT-* state on compute manager start-up

If a compute manager is stopped / fails during certain REBOOT-*
operations then the instance will be left stuck in a transitional
task_state

This change handles two possible task states REBOOT_PENDING and
REBOOT_STARTED (for both soft and hard reboots). And either clears
these states or retries the reboot depending on the instance state.

Both task states are set after the request has gotten to the compute
manager so we can handle these safely knowing the operation has
ended/failed with the restart of the compute manager.

We retry the reboot where the state is PENDING and where the state is
STARTED and the instance is not running.

Where the instance is running and the state is STARTED we simply
transition the instance to an ACTIVE state. The user can retry the
reboot if required.

Related to blueprint recover-stuck-state

Change-Id: Ib318b3d444a67616441302f3daa8de20ee946f3f
Update aggregate should not allow duplicated names

It is not allow to create 2 aggregates with the same name
but if update an existing one with a name already used
by other aggregate that check should be made.
This patch doesn't allow to change the name to an existing
one.

Change-Id: Icfe315594beaec94229e5a4a4c1bb80fc366b66e
Closes-Bug: #1288296
Add get_by_network() to FixedIPList

This adds support for get_by_network() to FixedIPList, which is needed
by the linux_net module to go full-objects. Since it depends on
information in the VirtualInterface object, this also adds a nested
FixedIP.virtual_interface object, which currently is only reachable
when queried in this way.

Related to blueprint nova-network-objects

Change-Id: I6b53e6eed1dee049a51d95f385132fc28c7cce05
Related-bug: 1290568
Make linux_net use objects for last fixed ip query

This converts the final uses of direct database calls from the
linux_net module by utilizing the calls just added to the
FixedIP object.

Related to blueprint nova-network-objects

Related-bug: 1290568
Change-Id: I58828e9112e43967fe8daa070575ca122041690a
Merge "Log Content-Type/Accept API request info"
Merge "Recover from REBOOT-* state on compute manager start-up"
Merge "Fix: Unshelving an instance uses original image"
Merge "Fix compute_node stats"
Libvirt: Repair metadata injection into guests

The change to use Instance objects when spawning instances
changed the format of the 'metadata' property.  But this wasn't
taken into account in the code which actually injects metadata
into /meta.js in the guest's fs.

This patch ensures that the meta.js file injection expects the
new format.

Closes-bug: #1284733

Change-Id: I37049ac01b65d30d588578e351fcddac457f95a7
Add helper method for checking if VM is booting from a volume

Add a _is_booted_from_value method which determines whether
the disk mapping indicates that the VM is booting from a volume
Update the _create_image method to use this helper API.

Related-Bug: #1271528
Change-Id: Iaa92f84ad3de9e84ba49bb255add043f3c8e4c8f
Add helper method for injecting data in an image

Add a _inject_data method whish helps to injecting data
in a disk image file system.
Update the _create_image method to use this helper

Change-Id: Ia005eee0a34d77bbf3eb33f7fef231dcf1eabe2c
Related-Bug: #1271528
Merge "VMware: ensure that deprecation does not appear for VC driver"
Revert "enable cloning for rbd-backed ephemeral disks"

This reverts commit c25c60f6a9ab1ccf12f72f76d400e7c9c0d090b3.

The series of patches involved with adding this feature introduced
an unexpected dependency on glance's v2 API, which we do not
currently support. Triggering a user-facing bug quickly, and leaving
some uncertainty about what else is likely to come in the future,
a revert of this code was decided given the short time to -rc1.

Change-Id: Iee835652f56beed1b8ac74d782e34a5238102840
Related-bug: 1291014
Revert "Move libvirt RBD utilities to a new file"

This reverts commit cb8968400f8c8370cab309de0f63e82565bfb25b.

The series of patches involved with adding this feature introduced
an unexpected dependency on glance's v2 API, which we do not
currently support. Triggering a user-facing bug quickly, and leaving
some uncertainty about what else is likely to come in the future,
a revert of this code was decided given the short time to -rc1.

Change-Id: I5e5d897f7294a7d4bda76ed392f503d0552f45e9
Related-bug: 1291014