Project

General

Profile

Feature #44928

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

Added by Ramana Raja 10 months ago. Updated 3 days ago.

Status:
Fix Under Review
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

History

#1 Updated by Ramana Raja 10 months ago

  • Description updated (diff)

#2 Updated by Ramana Raja 3 months ago

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

#3 Updated by Kotresh Hiremath Ravishankar about 1 month ago

  • Status changed from New to In Progress

#4 Updated by Kotresh Hiremath Ravishankar 21 days ago

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

#5 Updated by Ramana Raja 3 days ago

  • Target version deleted (v16.0.0)
  • Backport changed from octopus,nautilus to pacific,octopus,nautilus

Also available in: Atom PDF