Bug 1966687

Summary: 'rbd trash purge' gets hung on rbds with clones or snapshots and should skip to continue progress [5.0]
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: RBDAssignee: Ilya Dryomov <idryomov>
Status: CLOSED ERRATA QA Contact: Harish Munjulur <hmunjulu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2CC: assingh, ceph-eng-bugs, ceph-qe-bugs, gfarnum, hmunjulu, idryomov, madam, mamccoma, mhackett, mmuench, mmurthy, mrajanna, muagarwa, ndevos, nojha, owasserm, pdhange, r.martinez, srangana, tnielsen, tserlin, vereddy, ygupta
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-58.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1947673 Environment:
Last Closed: 2021-08-30 08:31:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1898565, 1964373    

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