Add REUSE_EXT in _swap_volume call to blockRebase

_swap_volume is called in cases where new volume file has
already been created.  Add VIR_DOMAIN_BLOCK_REBASE_RESUE_EXT
in the flags passed when calling blockRebase to allow
the existing volume file to be written to.

Closes-Bug: #1218057

Change-Id: I704772ba4bfef474fc788d277c99ba016fb7883f
Fix v3 swap volume with wrong signature

Fix bug 1219672

Fix the signature and add related integrated test.
And fix test_servers missing subs 'glance_host'.

Change-Id: I040dafe2c1bcfc014fdeba3f735b322908af96c0
Fixes misuse of assertTrue in Cells test scripts

Misuse of assertTrue in places where assertEqual should be used.

Fixes bug #1220522

Change-Id: Ide2519a35a0b14daa381e668eea0c98939557883
Add expected_errors for extension aggregates v3

And remove some extra invalid params checking that
we didn't check in most of extensions. We can do
more strict checking when we have API input validation.

Fix bug 1214315
Partially implements bp v3-api-extension-versioning

Change-Id: I9c1f8265ea6e19e48cc2f8e747d04d3c3b66e55d
Fixes misuse of assertTrue in compute test scripts

Misuse of assertTrue in places where assertEqual should be used.

If assertTrue is used instead of assertEquals, the test will always pass
if the first argument's boolean cast is True. The second argument
passed to assertTrue() will be regarded as the error message
when the assertion fails. Using assertEqual will actually check
if two arguments are same value.

Fixes bug #1220538

Change-Id: Ia3f033cd8c63e59bfe2387a477ef79dce7c0f102
Fix live-migrate when source image deleted

We now cache the most import image details in system_metadata
so if we unable to access the image, fallback to the cached image data.

Fixes bug 1221200
Change-Id: I58244a01c72c1ab764710dbccff3a1b1bacea1fe
VMware image clone strategy settings and overrides

The VMwareAPI driver code currently spawns all virtual machines
copying the disks using a linked-clone strategy by default.
The VMwareAPI also offers a "full clone" strategy. This patch
makes the following changes and improvements.

* allow images to specify if they are "linked_clone" or not.

For technical discussion on the clone strategies and their trade-offs
see: https://www.vmware.com/support/ws5/doc/ws_clone_typeofclone.html

DocImpact: vmware_linked_clone metadata controls image-clone-strategy
Change-Id: I7a7ad57708202c8e8af5551b92a1e734185125f4
Blueprint: vmware-image-clone-strategy
Fix regression issues with cells target filter

1) Skip scheduling if a cell filter already took care of it
2) Call build_instances or schedule_run_instance (deprecated) depending on
   which method the caller used.

bug 1224465

Change-Id: I391e1c4f288c9dc3e1308ee8c001a662e0f4c1b8
Remove unused and wrong code in test_compute.py

Some variables are assigned,but never used in test_compute.py

Change-Id: I60712034938735ddbff1a484eceee0d68dbbd9fd
Merge "Fix live-migrate when source image deleted"
Merge "Fix v3 swap volume with wrong signature"
Merge "Add expected_errors for extension aggregates v3"
Merge "Fixes misuse of assertTrue in compute test scripts"
Merge "Remove unused and wrong code in test_compute.py"
Merge "Fix regression issues with cells target filter"
Merge "Fixes misuse of assertTrue in Cells test scripts"
Merge "Add REUSE_EXT in _swap_volume call to blockRebase"
Add missing notifications for rescue/unrescue

The rescue and unrescue operations are missing start/end notifications for
the operation. Most Nova instance operations emit
compute.instance.<operation>.start/end notifications, which external systems
can use to track changes in the state on an instance (e.g. for billing
purposes). Rescues change launched_at for the instance, which can prevent an
external system from having a consistant picture of the instances' running,
unless they take that into account.

Change-Id: I3d7d334c88953ddf693c864c3e5e0746cdd2056c
Closes-bug: 1224088
Merge "VMware image clone strategy settings and overrides"
Merge "Add missing notifications for rescue/unrescue"