Bug 1958362
| Summary: | rbd_support: Attempting to background remove images with clones results in apparent stuck progress | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Greg Farnum <gfarnum> |
| Component: | RBD | Assignee: | Ilya Dryomov <idryomov> |
| Status: | CLOSED ERRATA | QA Contact: | Harish Munjulur <hmunjulu> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2 | CC: | ceph-eng-bugs, ceph-qe-bugs, idryomov, mmurthy, owasserm, tserlin, vereddy |
| Target Milestone: | --- | ||
| Target Release: | 4.2z2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-14.2.11-180.el8cp, ceph-14.2.11-180.el7cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-15 17:14:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Greg Farnum
2021-05-07 17:57:42 UTC
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 |