Project

General

Profile

Bug #9109

ceph CLI: Help is missing -k keyring option

Added by John Wilkins over 9 years ago. Updated about 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

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

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 New
Related to Ceph - Documentation #2684: doc: ceph and all daemons take --show-config Won't Fix 07/02/2012

History

#1 Updated by Loïc Dachary about 9 years ago

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

johnu will work on it

#2 Updated by Dan Mick about 9 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 Loïc Dachary about 9 years ago

  • Status changed from In Progress to 12

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

#4 Updated by Johnu George about 9 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.

#5 Updated by Patrick Donnelly about 4 years ago

  • Status changed from 12 to New

Also available in: Atom PDF