Bug 2093258

Summary: [CephFS] "ceph fs subvolumegroup ls cephfs" shows "_nogroup"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: julpark
Component: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED ERRATA QA Contact: julpark
Severity: medium Docs Contact: Eliska <ekristov>
Priority: unspecified    
Version: 5.2CC: ceph-eng-bugs, ekristov, hyelloji, khiremat, tserlin, vshankar, ymane
Target Milestone: ---   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.3-37.el9cp Doc Type: Bug Fix
Doc Text:
.Ceph File System subvolume groups created by the user are now displayed when listing subvolume groups Previously, the Ceph File System (CephFS) subvolume groups listing included CephFS internal groups instead of CephFS subvolume groups created by users. With this fix, the internal groups are filtered from CephFS subvolume group list. As a result, CephFS subvolume groups created by the user are displayed now.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:56:39 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: 2126050    

Description julpark 2022-06-03 11:52:34 UTC
Description of problem:
"ceph fs subvolumegroup ls cephfs" shows "_nogroup"

Version-Release number of selected component (if applicable):
ceph Version 16.2.8-31.el8cp


How reproducible:
After creating cluster,, try to create numbers of subvolumes in a subvolumegroup. After kernel mounting it, clean up the subvolume and subvolume group .

Steps to Reproduce:
1. Create subvolumegroup
2. Create a few subvolumes in the subvolumegroup
3. Kernel mount it
4. Run some IOs in the mount dir
5. Remove the subvolumes
6. Revmoce the subvolumegroup
7. Check if subvolumegroup ls shows "_nogroup"

Actual results:
[cephuser@ceph-julpark-wjyw1m-node7 ~]$ ceph fs subvolumegroup ls cephfs
[
    {
        "name": "_nogroup"
    }
]

Expected results:
[]

Additional info:

[cephuser@ceph-julpark-wjyw1m-node7 ~]$ ceph fs subvolumegroup ls cephfs
[]
(After the reproducible steps)
[cephuser@ceph-julpark-wjyw1m-node7 ~]$ ceph fs subvolumegroup ls cephfs
[
    {
        "name": "_nogroup"
    }
]

Comment 1 Venky Shankar 2022-06-06 02:49:36 UTC
Nikhil,

I believe there is a tracker upstream for this and is being worked on?

Cheers,
Venky

Comment 28 errata-xmlrpc 2023-03-20 18:56:39 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.0 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-2023:1360