mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
mgr/ssh: fix remove_mds exception
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
a78ece253d
commit
e019f5fe58
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user