Glance stores library
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Gorka Eguileor 73ebb70542 Support os-brick specific lock_path for Cinder
As a new feature relevant for the Cinder store, os-brick now supports
setting the location of file locks in a different location from the
locks of the service.

The functionality is intended for HCI deployments and hosts that are
running Cinder and Glance using Cinder backend.  In those scenarios the
service can use a service specific location for its file locks while
only sharing the location of os-brick with the other services.

To leverage this functionality the new os-brick code is needed and
method ``os_brick.setup`` needs to be called once the service
configuration options have been loaded.

The default value of the os-brick ``lock_path`` is the one set in
``oslo_concurrency``.

This patch adds support for this new feature in a backward compatible
way so code works even if using an os-brick version that doesn't have
this feature.  That is the case for many CI jobs that install os-brick
from PyPi instead of the code present in master.

Change-Id: Ib11d63e3c388e12f145f40247d17030a566b8c5e
11 months ago
doc Remove Python 2 support 1 year ago
etc/glance Add lock per share for cinder nfs mount/umount 3 years ago
glance_store Support os-brick specific lock_path for Cinder 11 months ago
releasenotes Support os-brick specific lock_path for Cinder 11 months ago
tools Remove Python 2 support 1 year ago
.gitignore Add .stestr to gitignore 5 years ago
.gitreview OpenDev Migration Patch 4 years ago
.stestr.conf Update tox.ini to conform to the PTI 5 years ago
.zuul.yaml Update python testing as per zed cycle teting runtime 1 year ago
LICENSE Copying from glance 10 years ago
README.rst Add release notes link in readme 4 years ago
requirements.txt Remove Python 2 support 1 year ago
run_tests.sh Don't include openstack/common in flake8 exclude list 7 years ago
setup.cfg Update python testing as per zed cycle teting runtime 1 year ago
setup.py Cleanup py27 support 3 years ago
test-requirements.txt Add cinder's new attachment support 2 years ago
tox.ini Update python testing as per zed cycle teting runtime 1 year ago

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.