glance_store/glance_store/tests
Rajat Dhasmana 1178f113c4 Add cinder's new attachment support
Cinder introduced new attachment API flow in microversion 3.27
(also attachment_complete added in mv 3.44 and support for passing
mode added in mv 3.54) which provides a clean interface to
interact with cinder for attachments and is also required for
multiattach volume support (Related future work).
Nova uses it since a long time and is proven to be stable,
this patch implements the same for glance.
The create volume and delete volume calls are also moved to
cinder_utils file to use the generic exception handler
and keep similar code together for consistency.

Partially Implements: blueprint attachment-api-and-multiattach-support

Change-Id: I2758ed1d5b8e0981faa3eff6f83e1ce5975a01d2
2021-07-23 10:22:12 -04:00
..
etc Restore quotes removal for swift config in Python3 2020-01-28 18:11:03 -06:00
functional Clean imports in code 2018-03-01 07:29:33 +00:00
unit Add cinder's new attachment support 2021-07-23 10:22:12 -04:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
base.py Enable multi store support for glance 2018-07-15 15:10:27 +00:00
fakes.py Propagate BadStoreConfiguration to library user 2015-03-28 19:34:15 +01:00
utils.py Bring FakeData utility over from glance 2020-08-26 07:38:55 -07:00