Project

General

Profile

Actions

Documentation #23969

closed

ceph config commands don't work as documented

Added by Niklas Hambuechen about 6 years ago. Updated almost 6 years ago.

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

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Using ceph Luminous.

On http://docs.ceph.com/docs/master/rados/configuration/ceph-conf/ it says

ceph config show <who> will show the reported running configuration for a running daemon.

But when I run that, ceph says that's not a valid command:

# ceph config show mds
no valid command found; 10 closest matches:
config set <key> <value>
config set <key> <value>
Error EINVAL: invalid command

And `ceph config --help` doesn't list `show` as a subcommand.

Similarly, on http://docs.ceph.com/docs/master/mgr/dashboard/#configuration it says you can use

$ ceph config set mgr mgr/dashboard/server_addr $IP
$ ceph config set mgr mgr/dashboard/server_port $PORT

But if I run that, I get:

# ceph config set mgr 'mgr/dashboard/server_addr' '127.0.0.1'
Invalid command:  unused arguments: [u'127.0.0.1']
config set <key> <value> :  Set a configuration option at runtime (not persistent)
Error EINVAL: invalid command

According to `ceph config set --help`, that command takes no `<who>` argument:

 Monitor commands: 
 =================
config set <key> <value>                                                             Set a configuration option at runtime (not persistent)
config set <key> <value>                                                             Set a configuration option at runtime (not persistent)

Trying to drop the `mgr` argument I get:

# ceph config set 'mgr/dashboard/server_addr' '127.0.0.1'
Configuration option not found: 'mgr/dashboard/server_addr'
Actions

Also available in: Atom PDF