Project

General

Profile

Actions

Bug #61666

closed

cephfs: print better error message when MDS caps perms are not right

Added by Rishabh Dave almost 3 years ago. Updated 8 months ago.

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):
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.


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #63405: reef: cephfs: print better error message when MDS caps perms are not rightResolvedRishabh DaveActions
Copied to CephFS - Backport #63406: pacific: cephfs: print better error message when MDS caps perms are not rightRejectedRishabh DaveActions
Copied to CephFS - Backport #63407: quincy: cephfs: print better error message when MDS caps perms are not rightResolvedRishabh DaveActions
Actions #1

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
Actions #2

Updated by Rishabh Dave over 2 years ago

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

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
Actions #4

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

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

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.

Actions #8

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

Also available in: Atom PDF