Need to allow quota values to be set to zero

There are test cases in tempest setting the value of quota to '0', we
need allow this scenario.

Fix bug 1191336

Change-Id: I205b523eddfcd3c253172ad4549142ceb9f9ee4e
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
VMware: fix driver support for hypervisor uptime

This method was previously not implemented and would throw an exception
with the tempest tests. It will now redirect the administrator to access
the host to het the uptime.

Fixes bug 1199946

Change-Id: I073f50fee6aa76e912753c0754d632ff2adfa287
Update mailmap for jhesketh

Add my preferred and alternative email in.

Change-Id: I9d8a02cb044479145c1d22e6bd57a5733b8d2065
Get image properties instead of the whole image

When booting an instance using the new BDMv2 API we can specify to boot
from a volume created from an image on the fly. In this case the API
should pass the image properties to the new instance so it can get some
important parameters that it might specify.

After adding the new BDMv2 API in 13180f76, we introduced a mistake in
the method that gets the image properties (from the boot BDM) if no
image_ref is defined. When the source is an image it will return the
whole image metadata instead of getting just the properties. This
causes that when the source image is an AMI the instance won't have the
ramdisk and kernel properties set and will fail to boot.

This patch fixes the image properties when booting from a volume created
from an image.

Fixes bug #1220318

Change-Id: Ibcd60510cc909fcaa0d6d4769f91c070dfaf22ff
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"