Cleanup #2376
ceph-authtool -C option doesn't work
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
config: no -C shorthand for --cluster
ceph-authtool uses it!
Fixes: #2376
Signed-off-by: Sage Weil <sage@newdream.net>
History
#1 Updated by Greg Farnum almost 12 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 almost 12 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 almost 12 years ago
- Status changed from In Progress to Resolved