Project

General

Profile

Actions

Feature #44928

closed

mgr/volumes: evict clients based on auth ID and subvolume mounted

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:
pacific,octopus,nautilus
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
Manila
Pull request ID:

Description

In manila, when an auth ID is denied access to a subvolume the auth ID's caps are suitably removed, and the clients that have mounted the subvolume using the auth ID are immediately evicted, denying access to the subvolume.
See https://github.com/ceph/ceph/blob/octopus/src/pybind/ceph_volume_client.py#L405

The mgr-volumes CLI could look like,

`fs subvolume evict <volname> <subvolname> <auth name> [--group_name <group_name>]`

e.g.,
$ ceph fs subvolume evict cephfs manila-share-00 client.bob --group_name manila-share-group-00


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #49027: pacific: mgr/volumes: evict clients based on auth ID and subvolume mountedResolvedKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #49028: nautilus: mgr/volumes: evict clients based on auth ID and subvolume mountedResolvedKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #49029: octopus: mgr/volumes: evict clients based on auth ID and subvolume mountedResolvedKotresh Hiremath RavishankarActions
Actions

Also available in: Atom PDF