Project

General

Profile

Bug #48501

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

Added by Patrick Donnelly 7 months ago. Updated 4 months ago.

Status:
Resolved
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 (v1):
Crash signature (v2):

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 Resolved
Copied to CephFS - Backport #48859: nautilus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listing Resolved

History

#1 Updated by Kotresh Hiremath Ravishankar 6 months ago

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

#2 Updated by Patrick Donnelly 5 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot 5 months ago

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

#4 Updated by Backport Bot 5 months ago

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

#5 Updated by Nathan Cutler 4 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF