Why is it still so difficult to just dump all config and where it comes from?
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!
Based on feedback so far, I've directly opened a ticket for this: https://tracker.ceph.com/issues/71783 And proposed a small docs fix for one of my complaints: PR https://github.com/ceph/ceph/pull/64074
would another column with defaults suffice, something like ceph config dump —show-defaults On Sat, Jun 21, 2025 at 11:14 AM Niklas Hambüchen <mail@nh2.me> wrote:
Based on feedback so far, I've directly opened a ticket for this: https://tracker.ceph.com/issues/71783
And proposed a small docs fix for one of my complaints: PR https://github.com/ceph/ceph/pull/64074 _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
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
participants (2)
-
Joshua Blanch
-
Niklas Hambüchen