mgr/volumes: fix orchestrator remove operation

Signed-off-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
Jeff Layton 2018-11-30 10:07:50 -05:00
parent 4d3cc9f909
commit cae4eee807

View File

@ -283,13 +283,11 @@ class Module(MgrModule):
# Tear down MDS daemons
# =====================
spec = orchestrator.StatelessServiceSpec()
spec.name = vol_name
try:
completion = self._oremote(
"rm_stateless_service",
"remove_stateless_service",
"mds",
spec
vol_name
)
self._orchestrator_wait([completion])
except ImportError: