Glance stores library
Go to file
whoami-rajat f5d4699613 Add lock per share for cinder nfs mount/umount
With cinder configured as glance store and nfs as cinder backend,
if we create multiple images concurrently into the same share,
there might be race conditions.
This patch ensures a lock per export to avoid the race conditions.

This patch also introduces a reference counting mechamism for unmounting
which will unmount the share if no active thread/process is using it.

Closes-Bug: #1870289

Change-Id: I9197f64e29a0ae2e0a58186f1a70aa134f7f1db6
2020-05-01 11:35:01 +00:00
doc Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
etc/glance Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
glance_store Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
releasenotes Imported Translations from Zanata 2020-04-13 10:19:00 +00:00
tools Update hacking for Python3 2020-04-02 15:26:13 +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 victoria unit tests 2020-04-10 13:29:50 -05: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
babel.cfg Setup for glance.store for translation 2014-07-17 15:44:36 +00:00
lower-constraints.txt Merge "Cleanup py27 support" 2020-04-06 07:03:43 +00:00
requirements.txt Cleanup py27 support 2020-04-05 08:20:21 +02:00
run_tests.sh Don't include openstack/common in flake8 exclude list 2016-07-12 14:27:23 +08:00
setup.cfg Cleanup py27 support 2020-04-05 08:20:21 +02:00
setup.py Cleanup py27 support 2020-04-05 08:20:21 +02:00
test-requirements.txt Update hacking for Python3 2020-04-02 15:26:13 +02:00
tox.ini Enforce constraints for docs dependencies 2020-04-08 07:42:53 -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.