Merge "Revert "Allow admin user to get all tenant's floating IPs""
Merge "Test force_config_drive as a boolean as last resort"
Remove bdms from run_instance RPC conductor call

After the move to build_and_run_instance in change
Iefab71047996b7cc08107794d5bc628c11680a70 we get the block device
mapping out from the DB on the conductor side. We need to do this since
there is not enough data in the RPC call from the API (we don't have DB
id's so compute can't use that data to update block devices in the boot
process).

Based on this - we should stop sending block devices to the conductor.

Change-Id: Ic7a5da3f0d58093c3b249025b9fcd36a1321f2b3
Initialize objects field in ObjectsListBase class

Normally the underlying value of an object attribute is set upon first
attempt to set it and would not exist otherwise. This causes the object
attribute access mechanism to fall back to obj_load_attr.

This is mostly fine for a lot of use cases, but it also means that for
ObjectListBase subclasses, it is not possible to construct them empty
and then call list methods on them without resorting to something like:

  myListObject(objects=[])

This patch makes ObjectListBase default it's objects filed to [] if it's
not passed in allowing us to have a cleaner API and call list methods
such as len() on objects constructed on the fly..

Change-Id: Iad1301cc4f88018f10f3dd6c76e35275cd0c51f6
Merge "Make get_console_output() use objects"
Merge "Shrink devref.unit_tests, since info is in wiki."
libvirt: Use VIR_DOMAIN_AFFECT_LIVE for paused instances

When a volume is attached to a paused instance, it does not
appear in the instance's block devices list (i.e. lsblk)
after the instance has resumed. A similar situation
happens when detaching a volume from a paused instance; the
block device continues to exists in the block devices list,
where it should not.  It was found that the volume is only
persisted in the domain's config settings and not its active
settings, since only the VIR_DOMAIN_AFFECT_CONFIG flag was used
on attach and detach volume.  In order to affect the active
settings, the VIR_DOMAIN_AFFECT_LIVE flag has to be added when
attaching and detaching volumes.

Change-Id: I9c90a410a7ecb91f5a4de28acee21fe7da49242c
Closes-Bug: #1242366
Related-Bug: #1299331
Merge "Add testing for hooks"
Merge "VMware: remove unused parameters in imagecache"
Updated from global requirements

Change-Id: I4884005a65e9992447587588bac89b85b087bc4a
Merge "Network: ensure that ports are 'unset' when instance is deleted"
Downgrade log level when create network failed

We raised exception when create network failed because of exceed
quota, downgrade to debug level for those exceptions because
LOG.exception will generate a stacktrace.

Change-Id: I22446f08ee078c624970f233875874a67ea423b9
Merge "Sync "Prevent races in opportunistic db test cases""
Merge "Check the network_info obj type before invoke wait function"
VMware: update file permissions and mode

Commit 17c5f92b6ab552f1ac21f8ce332053e35d1de919 set the wrong
file permissions and mode.

Change-Id: Iffcd2961161cc6380bb434628183fe7162cf6e8a
Cleanup and gate on pep8 rules that are stricter in hacking 0.9

Fix up pep8 failures for rules we previously gated on, but that are now
stricter in there enforcement.

Ignore E251 due to https://github.com/jcrocholl/pep8/issues/301

Change-Id: I62b33e97c44c4a5be436b381cfbdaeb31cd2638b
Add bulk create/destroy functionality to FloatingIP

This adds bulk create and destroy functionality to the FloatingIP
object, which in turn requires that the DB API return the list of
IPs that it created.

This also fixes a bug in the load routine for FloatingIP, which
would previously try to load a FixedIP object with id=None,
which doesn't make sense.

Related to blueprint compute-manager-objects-juno

Change-Id: Ie3c7a5e672fcdb3e0df3d0e46b905b237dcfa182
Completely object-ify the floating_ips_bulk V2 extension

This converts the floating_ips_bulk APIv2 extension from using
direct DB access to using the FloatingIP object.

Related to blueprint compute-manager-objects-juno

Change-Id: I5fa7637b5eb06a9be51d7638701d98e3e033d68d
Move the fixed_ips APIv2 extension to use objects

This converts the fixed_ips extension to use the FixedIP object
instead of direct database access.

Related to blueprint compute-manager-objects-juno

Change-Id: I21afae063a360c1c36a417f0455e213b7236b541
Object-ify server_password APIv2 extension

This makes the server_password extension use the Instance object
instead of direct database access.

Related to blueprint compute-manager-objects-juno

Change-Id: I54f7762d14868278ef72589a8c6e3fc80c0e48c8