0

I'm new in ceph, when I deploy a cluster using Cephadm and try to change ceph.conf in /etc/ceph/ceph.conf I only have this configuration

[global]     
  fsid = d912s59a-27d7-1sd3-9764-43234f266ebd1   
  mon_host = [v2:1.1.1.1:3300/0,v1:1.1.1.1:6789/0] 

here are the steps I followed to deploy the cluster

https://satishdotpatel.github.io/deploy-ceph-storage-using-cephadm/

also, I can see all the configurations in the dashboard but I can only edit some of them

I tried to change the deployment and I had the same issue

1 Answers1

1

Since Octopus version (where cephadm was introduced first) the ceph.conf file has been minimized to only contain the mon hosts so the daemons know how to contact them. All the rest of the configuration is done in the config database, for example:

ceph config get mgr mgr/cephadm/container_image_base
ceph config set mon auth_allow_insecure_global_id_reclaim false
ceph config-key get ...
ceph config-key set ...

So what you see in the dashboard is what you have in the config database. Which is a little better than the CLI output because you see the default values as well which makes it easier to turn back changed configs. The dashboard config page has multiple levels, "basic", "advanced" and "dev" on the right-hand side of the config overview page. You should be able to find what you're looking for in the search field, and maybe choose a different level. There's some more information in the docs regarding ceph.conf management.

eblock
  • 579
  • 3
  • 5