Documentation #23969
closedceph config commands don't work as documented
0%
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'
Updated by Niklas Hambuechen almost 6 years ago
From the example at http://docs.ceph.com/docs/master/dev/config-key/ I guessed that probably this is the correct way to do that:
ceph config-key set mgr/dashboard/server_addr '127.0.0.1' <pre> So using `ceph config-key` instead of `ceph config`.
Updated by Volker Theile almost 6 years ago
If you are using v12.2.4 then you need to use the documentation for Luminous at http://docs.ceph.com/docs/luminous/. Your always refering to the (master) documentation which is v13.0 (Mimic). The config set commands have been introduced in this version.
Updated by Niklas Hambuechen almost 6 years ago
Oops, my bad, thanks for pointing it out.
As and aside, Luminous documentation's table of contents doesn't seem to be working for me:
http://docs.ceph.com/docs/master/ shows the table of contents on the left, but in http://docs.ceph.com/docs/luminous/ the table of contents is empty, containing only "Index".
How can I close the issue?