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.
Backport:
pacific,octopus,nautilus
Component(FS):
mgr/volumes
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
- Description updated (diff)
- Assignee set to Kotresh Hiremath Ravishankar
- Priority changed from Normal to High
- Status changed from New to In Progress
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 38786
- Target version deleted (
v16.0.0)
- Backport changed from octopus,nautilus to pacific,octopus,nautilus
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #49027: pacific: mgr/volumes: evict clients based on auth ID and subvolume mounted added
- Copied to Backport #49028: nautilus: mgr/volumes: evict clients based on auth ID and subvolume mounted added
- Copied to Backport #49029: octopus: mgr/volumes: evict clients based on auth ID and subvolume mounted added
- 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".
Also available in: Atom
PDF