From f363a69e5efb2302022d6e32debe44215c8564f1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 14 Mar 2020 08:32:50 -0500 Subject: [PATCH] mgr/cephadm: do not include 'osd' service in 'orch ls' output Signed-off-by: Sage Weil --- src/pybind/mgr/cephadm/module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index f8a978947e1b..59ea74ba8fb9 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -1746,6 +1746,8 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): n: str = dd.service_name() if service_name and service_name != n: continue + if dd.daemon_type == 'osd': + continue # ignore OSDs for now spec = None if dd.service_name() in self.spec_store.specs: spec = self.spec_store.specs[dd.service_name()] -- 2.47.3