From ed3f48c0b4931d2ab8235233ade8bc10c5984f6d Mon Sep 17 00:00:00 2001 From: gbenhaim Date: Wed, 6 Dec 2017 16:15:58 +0200 Subject: [PATCH] deploy: Don't propagate fail when waiting for ssh This commit is part of 167d99a. Without it, if host.ssh_reachable() is false, the outer log task will always be marked as a failure. Signed-off-by: gbenhaim --- lago/prefix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lago/prefix.py b/lago/prefix.py index 3a2d5eda..d3b59b1b 100644 --- a/lago/prefix.py +++ b/lago/prefix.py @@ -1621,7 +1621,7 @@ def _deploy_host(self, host): return with LogTask('Wait for ssh connectivity'): - if not host.ssh_reachable(tries=1): + if not host.ssh_reachable(tries=1, propagate_fail=False): time.sleep(10) host.wait_for_ssh()