Description of problem: The progress module gets stuck on undeletable images. We should delay adding them to the progress module instead. Version-Release number of selected component (if applicable): 4.x How reproducible: Generate a clone of an rbd, move the rbd parent to trash, schedule deletion, watch progress module. A fix is already in upstream nautilus and needs to be pulled in to our 4.x release stream.
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
QA verified. 1. Create a pool and image 2. write data to image 3. create multiple clones #rbd snap create testpool/testimage@snapname1 4. trash the parent image #rbd trash mv testpool/testimage 5. verify the trash # rbd trash ls testpool ade224278f76 testimage 6. purge the trashed image #rbd trash purge testpool Removing images: 0% complete...failed. rbd: some expired images could not be removed Ensure that they are closed/unmapped, do not have snapshots (including trashed snapshots with linked clones), are not in a group and were moved to the trash successfully. 7. check the ceph status #ceph -s 8. watch progress module expected: Should not see any stuck process.
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 (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix Update), 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/RHSA-2021:2445