Bug 2029307 - A deleted subvolumegroup when listed using "ceph fs subvolumegroup ls <vol_name>" shows as "_deleting"
Summary: A deleted subvolumegroup when listed using "ceph fs subvolumegroup ls <vol_na...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 5.2
Assignee: Kotresh HR
QA Contact: julpark
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2021-12-06 08:08 UTC by Hemanth Kumar
Modified: 2022-08-09 17:37 UTC (History)
8 users (show)

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`.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:36:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 54099 0 None None None 2022-02-01 11:38:24 UTC
Red Hat Issue Tracker RHCEPH-2503 0 None None None 2021-12-06 08:11:17 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:37:10 UTC

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


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