Project

General

Profile

Actions

Bug #48501

closed

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

Added by Patrick Donnelly over 3 years ago. Updated about 3 years 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 2 (0 open2 closed)

Copied to CephFS - Backport #48858: octopus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listingResolvedKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #48859: nautilus: pybind/mgr/volumes: inherited snapshots should be filtered out of snapshot listingResolvedKotresh Hiremath RavishankarActions
Actions #1

Updated by Kotresh Hiremath Ravishankar over 3 years ago

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

Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot over 3 years ago

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

Updated by Backport Bot over 3 years ago

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

Updated by Nathan Cutler about 3 years 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".

Actions

Also available in: Atom PDF