From 4609210e105cbbe2d5f685fc4890cce8d8b0ba6f Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 27 Aug 2020 11:33:31 +0200 Subject: [PATCH] mgr/cephadm: kick serve loop to trigger ceph.conf deployment Otherwise we'll wait 600s. Signed-off-by: Sebastian Wagner --- src/pybind/mgr/cephadm/module.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 149140a540ff0..bf97d2a18cad2 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -561,6 +561,9 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule, monmap['modified'], CEPH_DATEFMT) if self.last_monmap and self.last_monmap > datetime.datetime.utcnow(): self.last_monmap = None # just in case clocks are skewed + if getattr(self, 'manage_etc_ceph_ceph_conf', False): + # getattr, due to notify() being called before config_notify() + self._kick_serve_loop() if notify_type == "pg_summary": self._trigger_osd_removal() -- 2.39.5