Bug 2240585
| Summary: | pybind/mgr/volumes: pending_subvolume_deletions count is always zero in fs volume info output | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Kotresh HR <khiremat> |
| Component: | CephFS | Assignee: | Venky Shankar <vshankar> |
| Status: | CLOSED ERRATA | QA Contact: | Hemanth Kumar <hyelloji> |
| Severity: | high | Docs Contact: | Disha Walvekar <dwalveka> |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | ceph-docs, ceph-eng-bugs, cephqe-warriors, dwalveka, pdhange, saraut, sostapov, tserlin, vereddy, vshankar |
| Target Milestone: | --- | Flags: | khiremat:
needinfo-
khiremat: needinfo- |
| Target Release: | 6.1z4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-17.2.6-186.el9cp | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
The utility used to list the trash directory which contains subvolumes to be deleted was buggy. The 'os.listdir' was being used which didn't have subvolume basdir context. Hence it was always failing with ENOENT.
Consequence:
The 'pending_subvolume_deletions' field in 'fs volume info' output is always zero
Fix:
In house listdir utitily which has the context of subvolume base directory is modified a bit and used.
Result:
The 'pending_subvolume_deletions' field in 'fs volume info' correctly represents the remaining subvolumes queued for deletion.
|
Story Points: | --- |
| Clone Of: | 2240583 | Environment: | |
| Last Closed: | 2024-02-08 18:13:17 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: | 2240583, 2240586 | ||
| Bug Blocks: | 2261930 | ||
|
Description
Kotresh HR
2023-09-25 11:18:59 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. Missed 6.1 z3 development window. Retargeted to 6.1 z4. 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 6.1 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/RHBA-2024:0747 |