can't delete (rbd) snapshot if volume missing

Bug #1774619 reported by Edward Hope-Morley on 2018-06-01
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Low
Unassigned

Bug Description

If I try to delete a snapshot whose base volume is ImageNotFound in Ceph the operation currently fails with https://pastebin.ubuntu.com/p/CjK8FGJJtw/ because the RBDVolumeProxy does not tolerate a missing volume an we don't handle the exception like we would for a volume delete. If the base volume is missing this in all likelihood indicates an error on the backend and since a snapshot can't exist without its base, it is valid to allow the delete to succeed. We should therefore handle this case to allow snapshots to be deleted as well as volumes in the case where the volume and/or snapshot does not exist on the backend.

Jon Bernard (jbernard) on 2018-06-05
Changed in cinder:
assignee: nobody → Jon Bernard (jbernard)
status: New → Confirmed
Eric Harney (eharney) on 2018-06-05
Changed in cinder:
importance: Undecided → Low
tags: added: ceph drivers

Fix proposed to branch: master
Review: https://review.opendev.org/658993

Changed in cinder:
assignee: Jon Bernard (jbernard) → renminmin (rmm0811)
status: Confirmed → In Progress
renminmin (rmm0811) on 2019-05-15
Changed in cinder:
assignee: renminmin (rmm0811) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers