Project

General

Profile

Actions

Bug #21765

closed

auth|doc: fs authorize error for existing credentials confusing/unclear

Added by Patrick Donnelly over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If you attempt to use `fs authorize` on a key that already exists you get an error like:

https://github.com/ceph/ceph/blob/9494a69fd903bc0da188b671edfd21e96358a3ef/src/mon/AuthMonitor.cc#L1328-L1330

This has already tripped up some users on ceph-users. I think we can improve the error message and explain why it fails. Additionally doc/cephfs/client-auth.rst should be updated as well to be mroe clear.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #23641: luminous: auth|doc: fs authorize error for existing credentials confusing/unclearResolvedJos CollinActions
Actions

Also available in: Atom PDF