From: Jeff Layton Date: Thu, 29 Nov 2018 16:58:34 +0000 (-0500) Subject: mgr/volumes: call correct method to wait for the orchestrator X-Git-Tag: v14.1.0~754^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bda66978623aba54c922462c9c96447c2f294ea7;p=ceph.git mgr/volumes: call correct method to wait for the orchestrator We need to use _orchestrator_wait here. Signed-off-by: Jeff Layton --- diff --git a/src/pybind/mgr/volumes/module.py b/src/pybind/mgr/volumes/module.py index 4e11ae82617..d80d011b74b 100644 --- a/src/pybind/mgr/volumes/module.py +++ b/src/pybind/mgr/volumes/module.py @@ -204,7 +204,7 @@ class Module(MgrModule): "mds", spec ) - self._wait([completion]) + self._orchestrator_wait([completion]) except ImportError: return 0, "", "Volume created successfully (no MDS daemons created)" except Exception as e: @@ -291,7 +291,7 @@ class Module(MgrModule): "mds", spec ) - self._wait([completion]) + self._orchestrator_wait([completion]) except ImportError: self.log.warning("No orchestrator, not tearing down MDS daemons") except Exception as e: