Bug #3002
ceph-authtool: --print does not work
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
gregf@kai:~/ceph/src [(no branch)]$ ./ceph-authtool mon.keyring --print ./ceph-authtool: unexpected '--print' usage: ceph-authtool keyringfile [OPTIONS]... where the options are: -l, --list will list all keys and capabilities present in the keyring -p, --print will print an encoded key for the specified entityname. This is suitable for the 'mount -o secret=..' argument -C, --create-keyring will create a new keyring, overwriting any existing keyringfile --gen-key will generate a new secret key for the specified entityname --add-key will add an encoded key to the keyring --cap subsystem capability will set the capability for given subsystem --caps capsfile will set all of capabilities associated with a given key, for all subsystems
the -p option does fine, though. I observed this on v0.50
History
#1 Updated by Sage Weil over 10 years ago
- Status changed from New to Resolved
this already got fixed in master, it looks like (--print-key instead of --print). don't think it's worth backporting to 0.50 (already released)
#2 Updated by Anonymous over 10 years ago
commit 4e40a7849442d633c9801639fbdaf27a97f39888
Author: Tommi Virtanen <tv@inktank.com>
Date: 2012-08-02 13:02:04 -0700
ceph-authtool: Fix usage, it's --print-key not --print.
Signed-off-by: Tommi Virtanen <tv@inktank.com>