Bug 1966687 - 'rbd trash purge' gets hung on rbds with clones or snapshots and should skip to continue progress [5.0]
Summary: 'rbd trash purge' gets hung on rbds with clones or snapshots and should skip ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.0
Assignee: Ilya Dryomov
QA Contact: Harish Munjulur
URL:
Whiteboard:
Depends On:
Blocks: 1898565 1964373
TreeView+ depends on / blocked
 
Reported: 2021-06-01 16:53 UTC by Ilya Dryomov
Modified: 2021-08-30 08:31 UTC (History)
23 users (show)

Fixed In Version: ceph-16.2.0-58.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1947673
Environment:
Last Closed: 2021-08-30 08:31:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 51021 0 None None None 2021-06-03 07:37:18 UTC
Github ceph ceph pull 41664 0 None open pacific: librbd: don't stop at the first unremovable image when purging 2021-06-03 07:37:46 UTC
Red Hat Issue Tracker RHCEPH-1313 0 None None None 2021-08-30 00:24:14 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:31:24 UTC

Comment 5 Harish Munjulur 2021-06-22 04:26:10 UTC
QA verified on ceph version 16.2.0-67.el8cp 

1. Create multiple images
2. create clones to few images
3. thrash move all the images # rbd trash mv testpool/testimage
4. thrash purge all the trash images #rbd trash purge testpool
5. check the status of cluster 
Progress is not stuck
6. Verify the images with no clones are successfully deleted

Comment 7 errata-xmlrpc 2021-08-30 08:31:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294


Note You need to log in before you can comment on or make changes to this bug.