Project

General

Profile

Feature #44931

mgr/volumes: get the list of auth IDs that have been granted access to a subvolume using mgr/volumes CLI

Added by Ramana Raja about 1 year ago. Updated 4 months ago.

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

0%

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

Description

Manila requires the list of auth IDs that have been granted access to a share/subvolume.
https://github.com/openstack/manila/blob/stable/train/manila/share/drivers/cephfs/driver.py#L456

The ceph_volume_client's get_authorized_ids() provides this functionality. https://github.com/ceph/ceph/blob/octopus/src/pybind/ceph_volume_client.py#L1308
The ceph_volume_client stores the auth IDs that have been given access to a subvolume in special metadata files, and fetches the list of auth IDs when requested. mgr/volumes needs to provide the same functionality. It needs to store and fetch auth IDs in the same special metadata files used by the ceph_volume_client. This will allow the manila driver to smoothly switch to using mgr/volumes from ceph_volume_client.


Related issues

Copied to CephFS - Backport #48900: octopus: mgr/volumes: get the list of auth IDs that have been granted access to a subvolume using mgr/volumes CLI Resolved
Copied to CephFS - Backport #48901: nautilus: mgr/volumes: get the list of auth IDs that have been granted access to a subvolume using mgr/volumes CLI Resolved

History

#1 Updated by Ramana Raja about 1 year ago

  • Description updated (diff)

#2 Updated by Ramana Raja 8 months ago

  • Assignee set to Kotresh Hiremath Ravishankar
  • Priority changed from Normal to High

#3 Updated by Kotresh Hiremath Ravishankar 8 months ago

  • Status changed from New to In Progress

#4 Updated by Kotresh Hiremath Ravishankar 6 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 38160

#5 Updated by Patrick Donnelly 5 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Backport Bot 5 months ago

  • Copied to Backport #48900: octopus: mgr/volumes: get the list of auth IDs that have been granted access to a subvolume using mgr/volumes CLI added

#7 Updated by Backport Bot 5 months ago

  • Copied to Backport #48901: nautilus: mgr/volumes: get the list of auth IDs that have been granted access to a subvolume using mgr/volumes CLI added

#8 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