]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes: pass placement as string, not list
authorSage Weil <sage@redhat.com>
Thu, 5 Mar 2020 15:15:44 +0000 (09:15 -0600)
committerSage Weil <sage@redhat.com>
Sat, 7 Mar 2020 12:42:07 +0000 (06:42 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/volumes/fs/fs_util.py

index dc1c79196b298a0843c8318aa604143f82869064..c889776d09dac7c8abc689d2ae57b7aabd79c75f 100644 (file)
@@ -36,7 +36,7 @@ def remove_filesystem(mgr, fs_name):
 def create_mds(mgr, fs_name, placement):
     spec = orchestrator.ServiceSpec(service_type='mds',
                                     service_id=fs_name,
-                                    placement=orchestrator.PlacementSpec.from_strings(placement.split()))
+                                    placement=orchestrator.PlacementSpec.from_strings(placement))
     try:
         completion = mgr.apply_mds(spec)
         mgr._orchestrator_wait([completion])