Actions
Bug #61666
closedcephfs: print better error message when MDS caps perms are not right
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:
0%
Source:
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v18.0.0-6294-gc4f968b9310
Released In:
v19.2.0~1566
Upkeep Timestamp:
2025-07-12T07:38:43+00:00
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.
Updated by Venky Shankar almost 3 years ago
- Category set to Administration/Usability
- Target version set to v19.0.0
- Backport set to reef,quincy,pacific
Updated by Rishabh Dave over 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Upkeep Bot over 2 years ago
- Copied to Backport #63405: reef: cephfs: print better error message when MDS caps perms are not right added
Updated by Upkeep Bot over 2 years ago
- Copied to Backport #63406: pacific: cephfs: print better error message when MDS caps perms are not right added
Updated by Upkeep Bot over 2 years ago
- Copied to Backport #63407: quincy: cephfs: print better error message when MDS caps perms are not right added
Updated by Rishabh Dave almost 2 years ago
- Status changed from Pending Backport to Resolved
All backports have been resolved, moving this from Pending Backport to Resolved.
Updated by Upkeep Bot 8 months ago
- Merge Commit set to c4f968b93102ca6f23ab033ff367f2a86bb3ba90
- Fixed In set to v18.0.0-6294-gc4f968b9310
- Released In set to v19.2.0~1566
- Upkeep Timestamp set to 2025-07-12T07:38:43+00:00
Actions