]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes: call correct method to wait for the orchestrator
authorJeff Layton <jlayton@redhat.com>
Thu, 29 Nov 2018 16:58:34 +0000 (11:58 -0500)
committerJeff Layton <jlayton@redhat.com>
Thu, 29 Nov 2018 17:29:26 +0000 (12:29 -0500)
We need to use _orchestrator_wait here.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/volumes/module.py

index 4e11ae82617ed3ff229733196a9af25defb70928..d80d011b74baa9074254fcc9424f6bf2b7a19a9a 100644 (file)
@@ -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: