Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

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: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact: Disha Walvekar <dwalveka>
Priority: unspecified    
Version: 6.1CC: 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
+++ This bug was initially created as a clone of Bug #2240583 +++

Description of problem:
pybind/mgr/volumes: pending_subvolume_deletions count is always zero in fs volume info output

https://tracker.ceph.com/issues/62278

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from RHEL Program Management on 2023-09-25 11:13: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 1 RHEL Program Management 2023-09-25 11:19:08 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Scott Ostapovicz 2023-11-15 04:28:40 UTC
Missed 6.1 z3 development window.  Retargeted to 6.1 z4.

Comment 13 errata-xmlrpc 2024-02-08 18:13:17 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 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