From: Vasu Kulkarni Date: Mon, 17 Dec 2018 22:54:24 +0000 (-0800) Subject: dont use the stdout when running playbook, this may cause the prints to buffer. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3301cf1dd5c1cb0366c452e49a0c74f92842a5e9;p=teuthology.git dont use the stdout when running playbook, this may cause the prints to buffer. Signed-off-by: Vasu Kulkarni --- diff --git a/teuthology/task/ceph_ansible.py b/teuthology/task/ceph_ansible.py index 5e976eb7c..87da2c47a 100644 --- a/teuthology/task/ceph_ansible.py +++ b/teuthology/task/ceph_ansible.py @@ -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: