From 9e2829f54790b1b3691e2eeda6210b00dfa859e4 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Mon, 17 Dec 2018 14:54:24 -0800 Subject: [PATCH] dont use the stdout when running playbook, this may cause the prints to buffer. Signed-off-by: Vasu Kulkarni --- teuthology/task/ceph_ansible.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/teuthology/task/ceph_ansible.py b/teuthology/task/ceph_ansible.py index 5e976eb7c1..87da2c47a9 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: -- 2.39.5