Project

General

Profile

Actions

Bug #3002

closed

ceph-authtool: --print does not work

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

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

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
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
Actions

Also available in: Atom PDF