Project

General

Profile

Bug #9109

ceph CLI: Help is missing -k keyring option

Added by John Wilkins about 5 years ago. Updated about 5 years ago.

Status:
Verified
Priority:
Low
Assignee:
-
Category:
ceph cli
Target version:
-
Start date:
08/13/2014
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

The ceph command line should provide a -k keyring argument. "ceph --help" does not appear to list the -k option for the keyring.


Related issues

Related to Ceph - Feature #9222: annotate config options Verified 08/25/2014
Related to Ceph - Documentation #2684: doc: ceph and all daemons take --show-config Won't Fix 07/02/2012

History

#1 Updated by Loic Dachary about 5 years ago

  • Status changed from New to In Progress
  • Assignee deleted (Dan Mick)

johnu will work on it

#2 Updated by Dan Mick about 5 years ago

So, really, this applies to all the "Ceph global" options that the frontend doesn't have reason to do anything special with. These are all the 'global' options that are valid for most clients (rados, rbd, radosgw, ceph-fuse, etc. as well as ceph):

early_options:

--version: show version to stdout, exit
--conf/-c: set config file path
--cluster: set cluster name
-i (daemons only)/--id/--user(all): set 'id' part of type.id name
-n/--name: set 'type.id' name

"parse_argv" options:

--show-conf: dump cf with cerr << and exit
--show-config: expand_all_meta(), then _show_config to cout, exit
--show-config-value: find a value, expand_meta(), and show to cout, exit

--foreground/-f: set:
daemonize false
pid_file ""

-d: set:
daemonize false
log_file ""
pid_file ""
log_to_stderr true
err_to_stderr true
log_to_syslog false

--monmap/-M: set monmap from file
--mon-host/-m: set mon_host (mon to contact, otherwise random)
--bind: set public_addr
--keyfile/-K: keyfile
--keyring/-k: keyring file

--<config-option>=<val> or
--<config-option> <val>
dashes or underscores in config-option are legal
--no-<config-option> sets bools to false

#3 Updated by Loic Dachary about 5 years ago

  • Status changed from In Progress to Verified

not a low hanging fruit after all, johnu will try another ;-)

#4 Updated by Johnu George about 5 years ago

Initial pull request:

https://github.com/ceph/ceph/pull/2483

Need to design a solution so that all clients can use the global options.

Also available in: Atom PDF