From e4aa556fd0e2859b3992274b64d40e0f0561c76f Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Wed, 6 May 2020 21:12:56 +1000 Subject: [PATCH] mgr/cephadm: refresh osd config when mons change OSDs don't have a service spec, so the previous implementation was not reconfiguring them when the list of mons changed. Fixes: https://tracker.ceph.com/issues/45393 Signed-off-by: Tim Serong --- src/pybind/mgr/cephadm/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 07cf44ef0d24d..80f284b4aace8 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -2554,7 +2554,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): self._remove_daemon(dd.name(), dd.hostname) # ignore unmanaged services - if not spec or spec.unmanaged: + if spec and spec.unmanaged: continue # dependencies? -- 2.47.3