Project

General

Profile

Actions

Feature #44931

closed

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 4 years ago. Updated about 3 years 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 2 (0 open2 closed)

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 CLIResolvedKotresh Hiremath RavishankarActions
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 CLIResolvedKotresh Hiremath RavishankarActions
Actions #1

Updated by Ramana Raja about 4 years ago

  • Description updated (diff)
Actions #2

Updated by Ramana Raja over 3 years ago

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

Updated by Kotresh Hiremath Ravishankar over 3 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Kotresh Hiremath Ravishankar over 3 years ago

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

Updated by Patrick Donnelly over 3 years ago

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

Updated by Backport Bot over 3 years 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
Actions #7

Updated by Backport Bot over 3 years 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
Actions #8

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