From cae4eee8078137e75d2ca292f8bbbb9110265aba Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 30 Nov 2018 10:07:50 -0500 Subject: [PATCH] mgr/volumes: fix orchestrator remove operation Signed-off-by: Jeff Layton --- src/pybind/mgr/volumes/module.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pybind/mgr/volumes/module.py b/src/pybind/mgr/volumes/module.py index d366b3f5989b..ee0a5d6868b2 100644 --- a/src/pybind/mgr/volumes/module.py +++ b/src/pybind/mgr/volumes/module.py @@ -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: -- 2.47.3