Glance stores library
Go to file
Eric Harney 5427e0ca48 RBD: Trash image when snapshots prevent deletion
RBD snapshots automatically end up in the trash
when deleted when using RBD image format v2.

However, they prevent images from being deleted.

Instead, move RBD images to the trash in this
situation.  This trash must be purged by a scheduled
rbd trash purge operation outside of Glance.

This passes new cinder<->image dependency tests in
I5fee2395195 when using ceph require-min-compat-client
of "mimic", which enables clone v2.

Closes-Bug: #1959186
Change-Id: I34dcd90a09d43127ff2e8b477750c70f3cc01113
2023-06-15 07:58:48 -07: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: Trash image when snapshots prevent deletion 2023-06-15 07:58:48 -07:00
releasenotes RBD: Trash image when snapshots prevent deletion 2023-06-15 07:58:48 -07: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 'extras' for cinder driver 2023-05-11 12:12:51 -04:00
setup.py Cleanup py27 support 2020-04-05 08:20:21 +02:00
test-requirements.txt Run cinder driver unit tests 2023-04-18 11:31:30 -04:00
tox.ini Replace deprecated UPPER_CONSTRAINTS_FILE variable 2023-02-07 02:48:42 +01:00

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.