Project

General

Profile

Cleanup #2376

ceph-authtool -C option doesn't work

Added by Greg Farnum over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
common
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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 (diff)
Added by Sage Weil over 8 years ago

config: no -C shorthand for --cluster

ceph-authtool uses it!

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

History

#1 Updated by Greg Farnum over 8 years 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 over 8 years 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 over 8 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF