From e019f5fe58d48d8a5c267937c565c121c956d9dd Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 4 Nov 2019 08:02:01 -0600 Subject: [PATCH] mgr/ssh: fix remove_mds exception Signed-off-by: Sage Weil --- src/pybind/mgr/ssh/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/ssh/module.py b/src/pybind/mgr/ssh/module.py index 1929fbd234e..76dfc02d62d 100644 --- a/src/pybind/mgr/ssh/module.py +++ b/src/pybind/mgr/ssh/module.py @@ -958,7 +958,7 @@ class SSHOrchestrator(MgrModule, orchestrator.Orchestrator): results.append(self._worker_pool.apply_async( self._remove_mds, (d.service_instance, d.nodename))) if not results: - raise RuntimeError('Unable to find mds.%s[-*] daemon(s)' % name) + raise OrchestratorError('Unable to find mds.%s[-*] daemon(s)' % name) return SSHWriteCompletion(results) def _remove_mds(self, mds_id, host): -- 2.47.3