]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: recreate osd config when redeploy/reconfiguring 47663/head
authorAdam King <adking@redhat.com>
Tue, 2 Aug 2022 20:29:04 +0000 (16:29 -0400)
committerAdam King <adking@redhat.com>
Wed, 17 Aug 2022 19:19:33 +0000 (15:19 -0400)
commitc8b8ba6039790509ca5f802163a4ae607db3afd0
tree1c2a0a07d586c72c132409521582e1d6be415338
parent7458e41e690802021052863e5164a4143b1d499e
mgr/cephadm: recreate osd config when redeploy/reconfiguring

OSDs have a config file that includes addresses for the mon daemons.
We already have in place logic to cause a reconfig of OSDs if the mon map
changes, but when we do we aren't actually regenerating the config
so it's never updated with the new mon addresses. This change is to
have us recreate the OSD config when we redeploy or reconfig an OSD
so it gets the new mon addresses.

Fixes: https://tracker.ceph.com/issues/57007
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 13358f52e0e1b57fa0e7afc27956e1503a373fc2)

Conflicts:
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/module.py