]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
dont use the stdout when running playbook, this may cause the prints to buffer.
authorVasu Kulkarni <vasu@redhat.com>
Mon, 17 Dec 2018 22:54:24 +0000 (14:54 -0800)
committerVasu Kulkarni <vasu@redhat.com>
Mon, 17 Dec 2018 23:10:49 +0000 (15:10 -0800)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
teuthology/task/ceph_ansible.py

index 5e976eb7c12a154017c57a2264529c62d51b67aa..87da2c47a9bd44a0bafd92fc0d138646ea2895a9 100644 (file)
@@ -516,7 +516,6 @@ class CephAnsible(Task):
         ])
         self._copy_and_print_config()
         self._generate_client_config()
-        out = StringIO()
         str_args = ' '.join(args)
         ceph_installer.run(
             args=[
@@ -526,11 +525,7 @@ class CephAnsible(Task):
                 run.Raw(str_args)
             ],
             timeout=4200,
-            stdout=out
         )
-        if re.search(r'all hosts have already failed', out.getvalue()):
-            log.error("Failed during ceph-ansible execution")
-            raise CephAnsibleError("Failed during ceph-ansible execution")
         if self.cluster_name == 'ceph':
             self.ready_cluster = self.ctx.cluster
         else: