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

Also available in: Atom PDF