Glance stores library
Go to file
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
doc Add cinder's new attachment support 2021-07-23 10:22:12 -04:00
etc/glance Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
glance_store Add cinder's new attachment support 2021-07-23 10:22:12 -04:00
releasenotes Allow any Keystone domain for cinder store 2021-06-03 11:04:52 +00:00
tools Stop to use the __future__ module. 2020-06-02 20:14:52 +02:00
.gitignore Add .stestr to gitignore 2018-01-29 06:26:30 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:31 +00:00
.stestr.conf Update tox.ini to conform to the PTI 2018-07-16 04:52:57 +00:00
.zuul.yaml Add Python3 xena unit tests 2021-03-19 12:51:49 +00:00
LICENSE Copying from glance 2014-01-24 18:30:46 +01:00
README.rst Add release notes link in readme 2019-10-06 14:37:10 +08:00
lower-constraints.txt Add cinder's new attachment support 2021-07-23 10:22:12 -04:00
requirements.txt Fix lower_constraints and requirements 2020-12-18 11:11:40 +00:00
run_tests.sh Don't include openstack/common in flake8 exclude list 2016-07-12 14:27:23 +08:00
setup.cfg vmware: Use cookiejar from oslo.vmware client directly 2021-04-30 12:08:50 +00:00
setup.py Cleanup py27 support 2020-04-05 08:20:21 +02:00
test-requirements.txt Add cinder's new attachment support 2021-07-23 10:22:12 -04:00
tox.ini Bump default tox env from py37 to py38 2020-04-24 10:25:42 -05:00

README.rst

Team and repository tags

The following tags have been asserted for the Glance Store
Library:
"project:official",
"stable:follows-policy",
"vulnerability:managed".
Follow the link for an explanation of these tags.

Glance Store Library

Glance's stores library

This library has been extracted from the Glance source code for the specific use of the Glance and Glare projects.

The API it exposes is not stable, has some shortcomings, and is not a general purpose interface. We would eventually like to change this, but for now using this library outside of Glance or Glare will not be supported by the core team.