Project

General

Profile

Bug #21765

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

Added by Patrick Donnelly over 1 year ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
Administration/Usability
Target version:
Start date:
10/11/2017
Due date:
% 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:

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

Copied to fs - Backport #23641: luminous: auth|doc: fs authorize error for existing credentials confusing/unclear Resolved

History

#1 Updated by Patrick Donnelly over 1 year ago

  • Assignee set to Douglas Fuller

Doug, please take this one.

#2 Updated by Douglas Fuller about 1 year ago

  • Status changed from New to Need Review

#3 Updated by Patrick Donnelly 10 months ago

  • Category set to Administration/Usability
  • Status changed from Need Review to Pending Backport
  • Target version set to v13.0.0

#4 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #23641: luminous: auth|doc: fs authorize error for existing credentials confusing/unclear added

#5 Updated by Patrick Donnelly 7 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF