Year after year I find myself confused with ceph's various methods to just show 
the current configuration.

I just want one command that can dump all the config, and where the values come 
from.

I used a mix of the following so far:

ceph config dump

  "dumps the entire Monitor central configuration database"
  But it shows only values that are different from the default.
  Outputs a "WHO" column that includes entries for both "mgr" or "osd", and e.g. 
"osd.123".

config show-with-defaults <who>

  Very useful: Outputs SOURCE/OVERRIDES/IGNORES
  Oddly, not listed in 
https://docs.ceph.com/en/squid/rados/configuration/ceph-conf/#commands
  Unfortunately, cannot dump all config, instead needs to be given <who> e.g. 
`config show-with-defaults osd.123`.
  But not all things from the WHO column from "ceph config dump" are accepted, 
e.g. `config show-with-defaults mgr` does not work. Confusing.
  Somehow misses some values:
    `ceph config dump` shows
      WHO      MASK  LEVEL     OPTION                                 VALUE     
         RO
      mgr            unknown   mgr/pg_autoscaler/autoscale_profile    scale-up  
         *
    But `autoscale_profile` is nowhere to be found in any `ceph config 
show-with-defaults mgr...` outputs.

ceph-conf --show-config

  Legacy, as explained on https://docs.ceph.com/en/squid/man/8/ceph-conf/
  But I think 
https://docs.ceph.com/en/squid/rados/configuration/ceph-conf/#commands should 
list it so that from there one can easily see it's legacy.

This is all very confusing.

Can we please have 1 command, that can dump all config (including from config 
files, monitor central configuration database, all currently running daemons), 
and nicely point out what's set and overridden where and which value is in 
effect?

Is there any issue I can subscribe to that tracks improving this?

Thanks!
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to