]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Filter inherited snapshots while listing snapshots 38652/head
authorKotresh HR <khiremat@redhat.com>
Fri, 18 Dec 2020 11:33:14 +0000 (17:03 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 13 Jan 2021 09:39:35 +0000 (15:09 +0530)
commitbd49b6409be79dba4a119c809983a05687242732
tree1757e9ebc65fc14fbdc00b93a1429d93daf6763d
parent51f86c9d13404531e2986e7b6402c23b159d9dcf
mgr/volumes: Filter inherited snapshots while listing snapshots

Filter inherited snapshots resulted as part of a snapshot
at ancestor level while listing snapshots of a subvolume
and subvolumegroup

Also, fail the snapshot info on inherited snapshot.

Fixes: https://tracker.ceph.com/issues/48501
Signed-off-by: Kotresh HR <khiremat@redhat.com>
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/fs_util.py
src/pybind/mgr/volumes/fs/operations/group.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py