From 607263224c268a53a0b8c0d5f055fea1002e8140 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 18 Feb 2020 13:18:47 -0600 Subject: [PATCH] mgr/cephadm: trigger device refresh after osd creation Presumably the new OSD(s) consumed one or more devices. Signed-off-by: Sage Weil --- src/pybind/mgr/cephadm/module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 599ef8b5e5c..af5bb40385e 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -1772,6 +1772,7 @@ class CephadmOrchestrator(MgrModule, orchestrator.OrchestratorClientMixin): 'osd', osd_id, host, osd_uuid_map=osd_uuid_map) + self.cache.invalidate_host_devices(host) return "Created osd(s) on host '{}'".format(host) def _create_daemon(self, daemon_type, daemon_id, host, -- 2.47.3