]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephadm: adapt to new cli
authorSage Weil <sage@redhat.com>
Thu, 13 Feb 2020 02:35:56 +0000 (20:35 -0600)
committerSage Weil <sage@redhat.com>
Thu, 13 Feb 2020 15:43:38 +0000 (09:43 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/cephadm.py

index 7fa3026bbda675bfc00d003a5a50f2ea6a7c73eb..b97edb52e0b2237bbe68d6f71e02be0138b497d7 100644 (file)
@@ -464,7 +464,7 @@ def ceph_mons(ctx, config):
                 log.info('Adding %s on %s' % (mon, remote.shortname))
                 num_mons += 1
                 _shell(ctx, cluster_name, remote, [
-                    'ceph', 'orch', 'mon', 'update',
+                    'ceph', 'orch', 'apply', 'mon',
                     str(num_mons),
                     remote.shortname + ':' + ctx.ceph[cluster_name].mons[mon] + '=' + id_,
                 ])
@@ -534,7 +534,7 @@ def ceph_mgrs(ctx, config):
                 daemons[mgr] = (remote, id_)
         if nodes:
             _shell(ctx, cluster_name, remote, [
-                'ceph', 'orch', 'mgr', 'update',
+                'ceph', 'orch', 'apply', 'mgr',
                 str(len(nodes) + 1)] + nodes
             )
         for mgr, i in daemons.items():
@@ -623,7 +623,7 @@ def ceph_mdss(ctx, config):
             daemons[role] = (remote, id_)
     if nodes:
         _shell(ctx, cluster_name, remote, [
-            'ceph', 'orch', 'mds', 'update',
+            'ceph', 'orch', 'apply', 'mds',
             'all',
             str(len(nodes))] + nodes
         )