Bug 1947673 - 'rbd trash purge' gets hung on rbds with clones or snapshots and should skip to continue progress [4.2z2]
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: ---
: 4.2z2
Assignee: Ilya Dryomov
QA Contact: Harish Munjulur
URL:
Whiteboard:
Depends On:
Blocks: 1898565 1964373
TreeView+ depends on / blocked
 
Reported: 2021-04-08 20:49 UTC by mamccoma
Modified: 2022-09-22 03:14 UTC (History)
23 users (show)

Fixed In Version: ceph-14.2.11-179.el8cp, ceph-14.2.11-179.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1964373 1966687 (view as bug list)
Environment:
Last Closed: 2021-06-15 17:14:13 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-05-31 09:31:25 UTC
Github ceph ceph pull 40675 0 None closed nautilus: librbd: allow interrupted trash move request to be restarted 2021-06-03 19:47:21 UTC
Github ceph ceph pull 41662 0 None open nautilus: librbd: don't stop at the first unremovable image when purging 2021-06-03 07:36:51 UTC
Red Hat Issue Tracker RHCEPH-5324 0 None None None 2022-09-22 03:14:37 UTC
Red Hat Product Errata RHSA-2021:2445 0 None None None 2021-06-15 17:14:43 UTC

Comment 1 RHEL Program Management 2021-04-08 20:49:36 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 Michael Adam 2021-05-04 15:13:58 UTC
Adding needinfo on Travis and Niels to comment on the rook and csi questions about ability to disable the rbd trash.

Comment 10 Travis Nielsen 2021-05-04 17:27:36 UTC
Running one-time Ceph configuration commands such as "rbd trash rm" need to be done in the toolbox. The rook operator does not automate such commands. When running toolbox commands, it gives the full power of the ceph commands, but also comes with the risks of unintended side effects. I'm not aware of limitations with "rbd trash rm" specifically either.

Comment 29 Harish Munjulur 2021-06-10 18:43:36 UTC
QA verified

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 31 errata-xmlrpc 2021-06-15 17:14:13 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 (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


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