Actions
Bug #42405
closed[rbd-mirror] v2 clone non-primary snapshot can leave snapshot in trash
% Done:
0%
Source:
Community (user)
Tags:
Backport:
nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Description
> 1. create snapshot of primary image > 2. wait for the snapshot to appear on the backup cluster > 3. create a clone in backup cluster (using Simplified RBD Image Cloning - no snap protect) > 4. delete the snapshot of the primary image - this is to save space because the clone will last a long time> 5. if I do rbd --cluster backup snap ls --all IMAGENAME it presents the deleted snapshot in the namespace trash > 6. delete the clone > 7. I expected that deleting the clone would purge the snapshot from trash, but it doesn't > 8. trash purge or trash remove is impossible (read only filesystem)
Actions