]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
broke up command and added log info
authorWarren Usui <wusui@redhat.com>
Wed, 29 Nov 2017 20:46:12 +0000 (20:46 +0000)
committerWarren Usui <wusui@redhat.com>
Wed, 29 Nov 2017 20:46:12 +0000 (20:46 +0000)
teuthology/task/ceph_ansible.py

index 70b0e85046e3e9c121a63d7a6635cda352dee66b..e52d31f8715725d547be854dba5256583a244b2a 100644 (file)
@@ -422,7 +422,6 @@ class CephAnsible(Task):
         self._copy_and_print_config()
         str_args = ' '.join(args)
         log.info('wait_for_run_ceph-ansible')
-        time.sleep(30)
         ceph_installer.run(args=[
             run.Raw('cd ~/ceph-ansible'),
             run.Raw(';'),
@@ -441,7 +440,11 @@ class CephAnsible(Task):
             'install',
             run.Raw('"setuptools>=11.3"'),
             run.Raw('"%s"' % ansible_ver),
-            run.Raw(';'),
+            #run.Raw(';'),
+        ])
+        log.info('right before this command:')
+        log.info(str_args)
+        ceph_installer.run(args=[
             run.Raw(str_args)
         ])
         wait_for_health = self.config.get('wait-for-health', True)