Actions
Bug #64182
openmds: "fs authorize" update MDS caps only if it is last one to be considered
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The last two commands have no effect on the caps held by client.x
in its keyring -
$ ceph fs volume create b $ ceph fs authorize a client.x / rw $ ceph fs authorize a client.x /dir1 rw $ ceph fs authorize a client.x /dir2 rw $ ceph auth get client.x $ ceph fs authorize b client.x / rw [client.x] key = AQAkWrJlNDdPGhAAGHfc3zW2PTJCIdzIJ3aekA== caps mds = "allow rw fsname=a, allow rw fsname=a path=dir1, allow rw fsname=a path=dir2, allow rw fsname=b" caps mon = "allow r fsname=a, allow r fsname=b" caps osd = "allow rw tag cephfs data=a, allow rw tag cephfs data=b" updated caps for client.x $ # next two commands will have no effect, last command will print same keyring as above $ ceph fs authorize b client.x /dir1 rw no update for caps of client.x $ ceph fs authorize b client.x /dir2 rw no update for caps of client.x $ ceph auth get client.x [client.x] key = AQAkWrJlNDdPGhAAGHfc3zW2PTJCIdzIJ3aekA== caps mds = "allow rw fsname=a, allow rw fsname=a path=dir1, allow rw fsname=a path=dir2, allow rw fsname=b" caps mon = "allow r fsname=a, allow r fsname=b" caps osd = "allow rw tag cephfs data=a, allow rw tag cephfs data=b"
Updated by Rishabh Dave 3 months ago
- Subject changed from mds: running "fs authorize" doesn't update MDS caps in some cases to mds: "fs authorize" update MDS caps only if it is last one to be considered
- Description updated (diff)
- Component(FS) MDS added
Updated by Venky Shankar 3 months ago
- Related to Feature #47264: "fs authorize" subcommand should work for multiple FSs too added
Updated by Rishabh Dave 3 months ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 55320
Updated by Rishabh Dave 3 months ago
- Severity changed from 3 - minor to 2 - major
Actions