Actions
Bug #61666
opencephfs: print better error message when MDS caps perms are not right
Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:
0%
Source:
Tags:
backport_processed
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Permission in MDS caps need to start with (or be) "r" or "rw". Else the permissions are not right. "ceph fs authorize" command already prints an error message clarifying this but "ceph auth add", "ceph auth caps, "ceph auth get-or-create" don't. Let's change that behaviour of these command to print better error message, the way "ceph fs authorize" does it.
Actions