Enable lazy translation in unit tests

Change-Id: Ia2aaaaae34f0f234b2493e7c724d7b874035bcfb
Add missing VerifyAll calls to test_validate

Many tests are missing VerifyAll after putting mocks into replay mode
so add them, and remove some spurious mocks which fail verification

Change-Id: I936311d834c93066c4cd043f8a2474bc638f396b
Only raise UpdateReplace when properties change

This changes the default behavior of Resource.handle_update to only
raise UpdateReplace if the properties are different. It allows updating
DeletionPolicy cleanly without deleting the resource.

Co-Authored-By: ala.rezmerita@cloudwatt.com
Closes-Bug: #1316171
Change-Id: I1d2864dc44ff7a5b4536b26f2dba525e01e56af0
Merge "Add missing VerifyAll calls to test_validate"
Merge "Only raise UpdateReplace when properties change"
Migrate to glanceclient to get image id

We should call the glanceclient to get_image_id instead novaclient.

Implements: blueprint migrate-to-glance-client
Change-Id: I2f5e4dfbe405b1ac74eb3864870b8e4873aeee9a
Merge "Enable lazy translation in unit tests"
Merge "Migrate to glanceclient to get image id"
Implement resize of Cinder volumes

This patch adds update capabilities to volume size. The new size must be
bigger than old one (as supported by Cinder). If the volume is attached,
it is first detached, then resized and attached again to the same mount
on the same server.

Known limitations:
user has to care for hirself about (un)mounting the volume from within the
instance OS and resizing the file system after resizing the volume.

Change-Id: I7c54b18eb865d0786ec5e3f50c92aeabdaa80a64
Implements: blueprint update-cinder-volume