Cleanup #2376

ceph-authtool -C option doesn't work

Added by Greg Farnum about 1 year ago. Updated about 1 year ago.

Status:ResolvedStart date:05/02/2012
Priority:NormalDue date:
Assignee:Sage Weil% Done:

0%

Category:commonSpent time:-
Target version:v0.47
Tags: Reviewed:
Story points-
Velocity based estimate-

Description

ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon -C
Option -C requires an argument.

It's supposed to be equivalent to --create-keyring, but it definitely isn't.

Associated revisions

Revision e20cd4ba
Added by Sage Weil about 1 year ago

config: no -C shorthand for --cluster

ceph-authtool uses it!

Fixes: #2376
Signed-off-by: Sage Weil <>

Revision e20cd4ba
Added by Sage Weil about 1 year ago

config: no -C shorthand for --cluster

ceph-authtool uses it!

Fixes: #2376
Signed-off-by: Sage Weil <>

History

#1 Updated by Greg Farnum about 1 year ago

Also:

ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon -C --name=mon. --add-key='AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few=='
added entity client.admin auth auth(auid = 18446744073709551615 key=AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few== with 0 caps)

versus
ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon --create-keyring
creating bootstrap-mon
ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon --name=mon. --add-key='AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few=='
added entity mon. auth auth(auid = 18446744073709551615 key=AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few== with 0 caps)

?

#2 Updated by Sage Weil about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil

I broke this.. -C is short for --cluster. reverting and pushing to stable.

#3 Updated by Sage Weil about 1 year ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF