Bug 2240585 - pybind/mgr/volumes: pending_subvolume_deletions count is always zero in fs volume info output
Summary: pybind/mgr/volumes: pending_subvolume_deletions count is always zero in fs vo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.1z4
Assignee: Venky Shankar
QA Contact: Hemanth Kumar
Disha Walvekar
URL:
Whiteboard:
Depends On: 2240583 2240586
Blocks: 2261930
TreeView+ depends on / blocked
 
Reported: 2023-09-25 11:18 UTC by Kotresh HR
Modified: 2024-02-08 18:13 UTC (History)
10 users (show)

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.
Clone Of: 2240583
Environment:
Last Closed: 2024-02-08 18:13:17 UTC
Embargoed:
khiremat: needinfo-
khiremat: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 62278 0 None None None 2023-09-25 11:18:58 UTC
Github ceph ceph pull 53573 0 None Merged quincy: mgr/volumes: Fix pending_subvolume_deletions in volume info 2023-11-16 21:29:19 UTC
Red Hat Issue Tracker RHCEPH-7539 0 None None None 2023-09-25 11:21:58 UTC
Red Hat Product Errata RHBA-2024:0747 0 None None None 2024-02-08 18:13:22 UTC

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


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