would another column with defaults suffice, something like ceph config dump 
—show-defaults
I think that would already be an improvement, but not suffice, because as
https://docs.ceph.com/en/squid/rados/configuration/ceph-conf/#commands
says:

`ceph config dump` dumps the entire Monitor central configuration database.

while

`ceph config show <who> shows` configuration values for a running daemon. These 
settings might differ from those stored by the monitors if there are also local 
configuration files in use or if options have been overridden on the command line or 
at runtime via admin socket, ceph tell, or ceph daemon commands

What I (and probably most users trying to troubleshoot problems) need is a 
command that shows _all_ the currently applied config, including for running 
daemons.

For example, a rough merge of the output formats of `config dump` and `config 
show-with-defaults`, with a daemon override shown:


    WHO      MASK  LEVEL     OPTION                     VALUE      RO  SOURCE   
 OVERRIDES                        IGNORES
    mgr            advanced  mgr/dashboard/server_addr  127.0.0.1  *
    osd            advanced  osd_recovery_sleep_hdd     0.000000       override 
 (file[0.000000]),(mon[0.000000])
    osd.0          advanced  osd_recovery_sleep_hdd     0.100000       daemon

Cheers,
Niklas
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to