Glance stores library
Go to file
Rajat Dhasmana 27ab8a6aeb RBD: Wrap RBD calls in native threads
librbd methods call lower level C code which runs in native thread
and isn't aware about the eventlet threads hence hangs the eventlet loop
until the native thread is executed.
This could cause problems when we are creating multiple images
with large size where one call to librados can cause the process to
hang and other operations can starve for execution and error out.
This patch wraps each RBD call in it's own native thread that won't
affect other RBD call from executing.

Change-Id: I8efb0460df9fcba050b5ce949eb10caea325c851
2023-04-06 15:15:05 +00:00
doc Remove Python 2 support 2022-05-25 04:42:06 +02:00
etc/glance Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
glance_store RBD: Wrap RBD calls in native threads 2023-04-06 15:15:05 +00:00
releasenotes Imported Translations from Zanata 2023-02-10 04:13:41 +00:00
tools Remove logic for Python <= 2.6 2022-07-17 00:47:15 +09: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 Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 09:21: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
requirements.txt Remove Python 2 support 2022-05-25 04:42:06 +02:00
run_tests.sh Don't include openstack/common in flake8 exclude list 2016-07-12 14:27:23 +08:00
setup.cfg Update python testing as per zed cycle teting runtime 2022-05-10 19:25:24 -05: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 Replace deprecated UPPER_CONSTRAINTS_FILE variable 2023-02-07 02:48:42 +01: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.