]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephadm: pass apply placement as a single arg
authorSage Weil <sage@redhat.com>
Wed, 4 Mar 2020 20:38:43 +0000 (14:38 -0600)
committerSage Weil <sage@redhat.com>
Sat, 7 Mar 2020 03:27:48 +0000 (21:27 -0600)
Use ';' as a separator, although ' ' would also work.  ',' would not
when msgr v2 addrs are in use.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/cephadm.py

index 4394a6c3795968616475c01fd5202d28aba0e66a..0da100ca8322968529519cde109028de1fb395e3 100644 (file)
@@ -538,7 +538,7 @@ def ceph_mgrs(ctx, config):
         if nodes:
             _shell(ctx, cluster_name, remote, [
                 'ceph', 'orch', 'apply', 'mgr',
-                str(len(nodes) + 1)] + nodes
+                str(len(nodes) + 1) + ';' + ';'.join(nodes)]
             )
         for mgr, i in daemons.items():
             remote, id_ = i
@@ -628,7 +628,7 @@ def ceph_mdss(ctx, config):
         _shell(ctx, cluster_name, remote, [
             'ceph', 'orch', 'apply', 'mds',
             'all',
-            str(len(nodes))] + nodes
+            str(len(nodes)) + ';' + ';'.join(nodes)]
         )
     for role, i in daemons.items():
         remote, id_ = i
@@ -663,7 +663,7 @@ def ceph_monitoring(daemon_type, ctx, config):
     if nodes:
         _shell(ctx, cluster_name, remote, [
             'ceph', 'orch', 'apply', daemon_type,
-            str(len(nodes))] + nodes
+            str(len(nodes)) + ';' + ';'.join(nodes)]
         )
     for role, i in daemons.items():
         remote, id_ = i
@@ -703,7 +703,7 @@ def ceph_rgw(ctx, config):
         _shell(ctx, cluster_name, remote, [
             'ceph', 'orch', 'apply', 'rgw',
             realm, zone,
-            str(len(nodes))] + nodes
+            str(len(nodes)) + ';' + ';'.join(nodes)]
         )
     for role, i in daemons.items():
         remote, id_ = i