Why is the 'ceph config show' command not showing information for Rados Gateway services in Red Hat Ceph Storage 5.x?
Issue
-
The command
ceph config showprovides information for most of the Ceph components, except RGW. Sample outputs:cephadm ls --no-detail | grep name | awk '{print $2}' | cut -d'"' -f2 mds.rhcs5ceph1 mon.rhcs5ceph1 mgr.rhcs5ceph1 osd.2 osd.4 node-exporter.rhcs5ceph1 alertmanager.rhcs5ceph1 grafana.rhcs5ceph1 prometheus.rhcs5ceph1 rgw.ceph.zone.rhcs5ceph1.wlkkkx crash.rhcs5ceph1 -
Picking one of the above services, the command
ceph config showruns as expected:$ ceph config show mds.cephfs.rhcs5cephd.zhpndx NAME VALUE SOURCE OVERRIDES IGNORES cluster_network <omitted> mon container_image registry.redhat.io/rhceph-beta/rhceph-5-rhel8@sha256:4ef435900faf6e8384a2ec1bc885311c07421af1924641eb41447748529db1df mon daemonize false override device_failure_prediction_mode none mon keyring $mds_data/keyring default log_stderr_prefix debug default log_to_file true mon default[false] log_to_stderr true default mds_join_fs cephfs mon mon_host <omitted> file no_config_file false override osd_pool_default_crush_rule -1 mon osd_pool_default_pg_autoscale_mode off mon public_network <omitted> mon rbd_default_features 61 default setgroup ceph cmdline setuser ceph cmdline -
But:
$ ceph config show rgw.ceph.zone.rhcs5ceph1.wlkkkx Error ENOENT: no config state for daemon rgw.ceph.zone.rhcs5ceph1.wlkkkx -
Why is this occurring? Is there any other way to get config information for this service?
Environment
Red Hat Ceph Storage versions 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.