]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: redo service level config when spec is updated
authorAdam King <adking@redhat.com>
Mon, 28 Nov 2022 19:14:58 +0000 (14:14 -0500)
committerAdam King <adking@redhat.com>
Wed, 24 May 2023 17:34:44 +0000 (13:34 -0400)
commit757f8e959d233d773c04b2719d7ab7ca77e8571a
treec2ea1dc5d248c4911bf0d36d3b503c92534e891b
parentdc4b3ee8e21756ff2d31bddd6810637f346a1fa8
mgr/cephadm: redo service level config when spec is updated

Previously, the service config function was only called
when we deploy a new daemon for that service. That meant
that updates to the spec such as changing a cert that don't
affect the daemon placement wouldn't trigger the service level
config to happen again. With this change, we now mark
the service as needing its config function ran if a daemon
for the service is added/removed or if the spec is updated.

Fixes: https://tracker.ceph.com/issues/58100
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 1d50a2cdfb32b60b352cc03a83f8d1c35f2ae178)
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/serve.py