Project

General

Profile

Bug #48501

pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing

Added by Patrick Donnelly about 2 months ago. Updated 10 days ago.

Status:
Pending Backport
Priority:
Urgent
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Crash signature:

Description

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


Related issues

Copied to CephFS - Backport #48858: octopus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing New
Copied to CephFS - Backport #48859: nautilus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing New

History

#1 Updated by Kotresh Hiremath Ravishankar about 1 month ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 38652

#2 Updated by Patrick Donnelly 10 days ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot 10 days ago

  • Copied to Backport #48858: octopus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing added

#4 Updated by Backport Bot 10 days ago

  • Copied to Backport #48859: nautilus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing added

Also available in: Atom PDF