Bug 1930180 - pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing
Summary: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot li...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 4.2
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: 4.2z2
Assignee: Kotresh HR
QA Contact: Yogesh Mane
URL:
Whiteboard:
: 1930183 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-18 13:29 UTC by Kotresh HR
Modified: 2021-06-15 17:14 UTC (History)
5 users (show)

Fixed In Version: ceph-14.2.11-170.el8cp, ceph-14.2.11-170.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-15 17:13:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 48859 0 None None None 2021-02-18 14:47:18 UTC
Red Hat Product Errata RHSA-2021:2445 0 None None None 2021-06-15 17:14:08 UTC

Description Kotresh HR 2021-02-18 13:29:23 UTC
Description of problem:

If a snapshot is created on a parent directory of a subvolume, it shows up in the snapshot listing:

$ ceph fs volume create b
$ ceph fs subvolume create b foo
$ sudo mkdir /home/pdonnell/mnt/tmp.NdWboGH0TH/volumes/_nogroup/.snap/bar
$ ceph fs subvolume snapshot ls b foo
[
    {
        "name": "_bar_1099511627777" 
    }
]

These should be filtered out of the listing and operations on those snapshots should fail. Eventually we might want to have snapshots on subvolume groups again to have feature parity with RBD consistency groups [1] but those snapshot names can be fetched by listing the subvolume group snaps.

[1] https://tracker.ceph.com/projects/ceph/wiki/Consistency_groups


For more details, look into upstream tracker attached.

Comment 2 Patrick Donnelly 2021-05-19 03:22:58 UTC
*** Bug 1930183 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2021-06-15 17:13:43 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 (Important: Red Hat Ceph Storage 4.2 Security and 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/RHSA-2021:2445


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