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 #1

Updated by Sage Weil over 11 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)

Actions #2

Updated by Anonymous over 11 years ago

commit 4e40a7849442d633c9801639fbdaf27a97f39888
Author: Tommi Virtanen <>
Date: 2012-08-02 13:02:04 -0700

ceph-authtool: Fix usage, it's --print-key not --print.
Signed-off-by: Tommi Virtanen &lt;&gt;
Actions

Also available in: Atom PDF