Why the OSD configuration files don't get updated after changing the MON configuration in Red Hat Ceph Storage 5.x?
Issue
- After changing the MON configuration of a Ceph cluster ( adding / removing / replacing MON services ), the OSD configuration files that are available at
/var/lib/ceph/<cluster-fsid>/osd.#don't get automatically updated with the current location of the mons. - Other services, such as Rados Gateway, are not affected by this issue. Their configuration files are modified accordingly to the MON distribution.
- This issue has a major impact if, for some reason, all the MONs need to be redeployed in different hosts. In such a case, after rebooting the OSDs, they might stay out of the cluster until their config files are modified.
- Why is this so? Are there any workarounds available?
Environment
- Red Hat Ceph Storage version 5.0 - 5.2, included.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.