]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
push keys on node using admin command
authorVasu Kulkarni <vasu@redhat.com>
Fri, 7 Apr 2017 18:27:52 +0000 (11:27 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Fri, 7 Apr 2017 19:39:19 +0000 (12:39 -0700)
will test admin command and is now needed due to create-keys change

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/tasks/ceph_deploy.py

index 44fb6c19415595f0a17e517af0d625f1b894bee9..8198a0463b853f450116ae3117a52a018d664bf3 100644 (file)
@@ -571,10 +571,13 @@ def cli_test(ctx, config):
         branch=test_branch) + nodename
     new_admin = 'install {branch} --cli '.format(branch=test_branch) + nodename
     create_initial = 'mon create-initial '
+    # either use create-keys or push command
+    push_keys = 'admin ' + nodename
     execute_cdeploy(admin, new_mon_install, path)
     execute_cdeploy(admin, new_osd_install, path)
     execute_cdeploy(admin, new_admin, path)
     execute_cdeploy(admin, create_initial, path)
+    execute_cdeploy(admin, push_keys, path)
 
     for i in range(3):
         zap_disk = 'disk zap ' + "{n}:{d}".format(n=nodename, d=devs[i])