diff options
author | Abhishek Kekane <akekane@redhat.com> | 2021-11-26 14:58:23 +0000 |
---|---|---|
committer | Abhishek Kekane <akekane@redhat.com> | 2021-12-21 17:11:45 +0000 |
commit | 3d221ec529862d43ab303644e74ee9ad6ce8cd40 (patch) | |
tree | 33de47fe153d8af3512b4fce40d94248c70c1f43 /releasenotes | |
parent | 6295d2eead3e492959f5861ded6a6c3e3f8cc9d0 (diff) | |
download | glance_store-3d221ec529862d43ab303644e74ee9ad6ce8cd40.tar.gz |
[RBD] Clone v2: Image is unusable if deletion fails
Recently cinder has utilized Ceph clone v2 support for its
RBD backend, since then if you attempt to delete an image from
glance that has a dependent volume, all future uses of that
image will fail in error state. Despite the fact that image
itself is still inside of Ceph/Glance. This issue is reproducible
if you are using ceph client version greater than 'luminous'
To resolve this issue glance RBD driver now checks whether snapshot
of original image has any external references before deleting/removing
it's snapshot and returns 409 Conflict response if it has any.
NOTE: To check this dependency glance osd needs 'read' access to
cinder and nova side RBD pool.
Closes-Bug: #1954883
Depends-on: https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/819476
Change-Id: If30b7bd7acac148b6f89ce46abbe128c678c90e7
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/bug-1954883-3666d63a3c0233f1.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-1954883-3666d63a3c0233f1.yaml b/releasenotes/notes/bug-1954883-3666d63a3c0233f1.yaml new file mode 100644 index 0000000..fc58976 --- /dev/null +++ b/releasenotes/notes/bug-1954883-3666d63a3c0233f1.yaml @@ -0,0 +1,13 @@ +--- +fixes: + - | + * Bug 1954883_: [RBD] Image is unusable if deletion fails + + .. _1954883: https://code.launchpad.net/bugs/1954883 + +upgrade: + - | + Deployments which are using Ceph V2 clone feature (i.e. RBD backend for + glance_store as well as cinder driver is RBD or nova is using RBD driver) + and minimum ceph client version is greater than 'luminous' need to grant + glance osd read access to the cinder and nova RBD pool. |