Project

General

Profile

Actions

Bug #61666

open

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

Added by Rishabh Dave 11 months ago. Updated 6 months ago.

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.


Related issues 3 (1 open2 closed)

Copied to CephFS - Backport #63405: reef: cephfs: print better error message when MDS caps perms are not rightIn ProgressRishabh 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 11 months 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 6 months ago

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

Updated by Backport Bot 6 months ago

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

Updated by Backport Bot 6 months ago

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

Updated by Backport Bot 6 months ago

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

Updated by Backport Bot 6 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF