Bug 2029307

Summary: A deleted subvolumegroup when listed using "ceph fs subvolumegroup ls <vol_name>" shows as "_deleting"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Kumar <hyelloji>
Component: CephFSAssignee: Kotresh HR <khiremat>
Status: CLOSED ERRATA QA Contact: julpark
Severity: low Docs Contact: Akash Raj <akraj>
Priority: medium    
Version: 5.0CC: akraj, ceph-eng-bugs, kdreyer, khiremat, tserlin, vereddy, vshankar, ymane
Target Milestone: ---Keywords: Rebase
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.8-2.el8cp Doc Type: Bug Fix
Doc Text:
.The `subvolumegroup ls` API filters the internal trash directory `_deleting` Previously, the `subvolumegroup ls` API would not filter internal trash directory `_deleting`, causing it to be listed as a `subvolumegroup`. With this fix, the `subvolumegroup ls` API filters the internal trash directory `_deleting` and the `subvolumegroup ls` API doesn't show the internal trash directory `_deleting`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-09 17:36:46 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:
Bug Depends On:    
Bug Blocks: 2102272    

Comment 1 Venky Shankar 2021-12-07 13:39:33 UTC
Kotresh, please take this one. (probbaly requires creating a tracker upstream too).

Comment 9 julpark 2022-06-03 08:54:22 UTC
I have verified it on ceph Version 16.2.8-30.el8cp

Comment 10 julpark 2022-06-03 18:37:07 UTC
(In reply to julpark from comment #9)
> I have verified it on ceph Version 16.2.8-30.el8cp

[cephuser@ceph-julpark-b3g4ib-node7 ~]$ ceph fs subvolumegroup create cephfs subvol_group_1
[cephuser@ceph-julpark-b3g4ib-node7 ~]$ ceph fs subvolumegroup ls cephfs
[
    {
        "name": "subvol_group_1"
    }
]
[cephuser@ceph-julpark-b3g4ib-node7 ~]$ cephfs subvolumegroup rm cephfs subvol_group_1
-bash: cephfs: command not found
[cephuser@ceph-julpark-b3g4ib-node7 ~]$ ceph fs subvolumegroup rm cephfs subvol_group_1
[cephuser@ceph-julpark-b3g4ib-node7 ~]$ ceph fs subvolumegroup ls cephfs
[]
[cephuser@ceph-julpark-b3g4ib-node7 ~]$

Comment 15 errata-xmlrpc 2022-08-09 17:36:46 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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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-2022:5997