Project

General

Profile

Feature #45237

pybind/mgr/volumes: add command to return metadata regarding a subvolume snapshot

Added by Kotresh Hiremath Ravishankar 9 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% Done:

0%

Source:
Tags:
ceph-csi
Backport:
octopus,nautilus
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:

Description

Along the lines of https://tracker.ceph.com/issues/44277, Ceph CSI requires metadata of subvolume snapshot as well.

The metadata required are: (as per Ceph CSI team)

created_at: time of creation of snapshot
data_pool: data pool the snapshot belongs to
protected: yes/no
size: snapshot size in bytes

Related issues

Copied to CephFS - Backport #46001: octopus: pybind/mgr/volumes: add command to return metadata regarding a subvolume snapshot Resolved
Copied to CephFS - Backport #46002: nautilus: pybind/mgr/volumes: add command to return metadata regarding a subvolume snapshot Resolved

History

#1 Updated by Kotresh Hiremath Ravishankar 9 months ago

  • Assignee set to Kotresh Hiremath Ravishankar
  • Component(FS) mgr/volumes added

#2 Updated by Kotresh Hiremath Ravishankar 9 months ago

  • Pull request ID set to 34716

#3 Updated by Kotresh Hiremath Ravishankar 9 months ago

Hi Humble,

Please let us know if you require anything else.

#4 Updated by Madhu Rajanna 9 months ago

@Kotresh is it possible to add snapshot status ie ready or not for consuming?

#5 Updated by Humble Chirammal 9 months ago

Yeah, snapshot status as mentioned in previous comment, and may be additional details like below could also help:

snapshot UUID or the unique handle reference by a field?
subvolume group, which this snapshot is part of?

#6 Updated by Humble Chirammal 9 months ago

@Kotresh can you also add a tag called `ceph-csi` if possible to this issue/report?

#7 Updated by Kotresh Hiremath Ravishankar 9 months ago

  • Status changed from New to Fix Under Review

#8 Updated by Kotresh Hiremath Ravishankar 9 months ago

  • Tags set to ceph-csi

#9 Updated by Patrick Donnelly 9 months ago

  • Target version set to v16.0.0
  • Backport set to octopus,nautilus

#10 Updated by Patrick Donnelly 7 months ago

  • Status changed from Fix Under Review to Pending Backport

#11 Updated by Patrick Donnelly 7 months ago

  • Copied to Backport #46001: octopus: pybind/mgr/volumes: add command to return metadata regarding a subvolume snapshot added

#12 Updated by Patrick Donnelly 7 months ago

  • Copied to Backport #46002: nautilus: pybind/mgr/volumes: add command to return metadata regarding a subvolume snapshot added

#13 Updated by Ramana Raja 6 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF