Project

General

Profile

Actions

Bug #61666

closed
RD RD

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

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

Added by Rishabh Dave over 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
Due date:
% 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 open — 3 closed)

Copied to CephFS - Backport #63405: reef: cephfs: print better error message when MDS caps perms are not rightResolvedRishabh Dave

Actions
Copied to CephFS - Backport #63406: pacific: cephfs: print better error message when MDS caps perms are not rightRejectedRishabh Dave

Actions
Copied to CephFS - Backport #63407: quincy: cephfs: print better error message when MDS caps perms are not rightResolvedRishabh Dave

Actions

VS Updated by Venky Shankar over 3 years ago Actions #1

  • Category set to Administration/Usability
  • Target version set to v19.0.0
  • Backport set to reef,quincy,pacific

RD Updated by Rishabh Dave about 3 years ago Actions #2

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot about 3 years ago Actions #3

  • Copied to Backport #63405: reef: cephfs: print better error message when MDS caps perms are not right added

UB Updated by Upkeep Bot about 3 years ago Actions #4

  • Copied to Backport #63406: pacific: cephfs: print better error message when MDS caps perms are not right added

UB Updated by Upkeep Bot about 3 years ago Actions #5

  • Copied to Backport #63407: quincy: cephfs: print better error message when MDS caps perms are not right added

RD Updated by Rishabh Dave over 2 years ago Actions #7

  • Status changed from Pending Backport to Resolved

All backports have been resolved, moving this from Pending Backport to Resolved.

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • 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: PDF Atom