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 #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 38786
Actions #5

Updated by Ramana Raja over 3 years ago

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

Updated by Ramana Raja about 3 years ago

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

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49027: pacific: mgr/volumes: evict clients based on auth ID and subvolume mounted added
Actions #8

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49028: nautilus: mgr/volumes: evict clients based on auth ID and subvolume mounted added
Actions #9

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49029: octopus: mgr/volumes: evict clients based on auth ID and subvolume mounted added
Actions #10

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