glance_store/glance_store
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
2022-07-12 11:30:31 +02:00
..
_drivers Support os-brick specific lock_path for Cinder 2022-07-12 11:30:31 +02:00
common Merge "Cinder: Correct exception logging during attach" 2022-05-05 13:34:26 +00:00
locale Imported Translations from Zanata 2020-05-05 06:43:27 +00:00
tests Remove Python 2 support 2022-05-25 04:42:06 +02:00
__init__.py Enable multi store support for glance 2018-07-15 15:10:27 +00:00
backend.py Remove Python 2 support 2022-05-25 04:42:06 +02:00
capabilities.py Removed 'store_capabilities_update_min_interval' config option 2019-05-29 06:23:03 +00:00
driver.py Remove Python 2 support 2022-05-25 04:42:06 +02:00
exceptions.py Remove Python 2 support 2022-05-25 04:42:06 +02:00
i18n.py Update oslo libraries 2015-03-19 11:43:42 -05:00
location.py Remove Python 2 support 2022-05-25 04:42:06 +02:00
multi_backend.py Remove Python 2 support 2022-05-25 04:42:06 +02:00