]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: increase ssh timeout and retries in ansible.cfg
authorAndrew Schoen <aschoen@redhat.com>
Wed, 6 Jun 2018 19:59:47 +0000 (14:59 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 7 Jun 2018 16:00:52 +0000 (18:00 +0200)
We see quite a few failures in the CI related to testing nodes losing
ssh connection. This modification allows ansible to retry more times and
wait longer before timing out. This seems to really affect testing
scenarios that use a large amount of testing nodes. The centos7_cluster
scenario specifically has 12 nodes and suffered from these failures
often.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ansible.cfg

index e4c21b5db1c9d2ed538bd2d9184d966f4d3d9537..74ee1b5a0429dc3733566af0ff272428da7d2649 100644 (file)
@@ -24,7 +24,7 @@ retry_files_enabled = False
 # This is the default SSH timeout to use on connection attempts
 # CI slaves are slow so by setting a higher value we can avoid the following error:
 # Timeout (12s) waiting for privilege escalation prompt:
-timeout = 30
+timeout = 60
 
 [ssh_connection]
 # see: https://github.com/ansible/ansible/issues/11536
@@ -33,4 +33,4 @@ ssh_args = -o ControlMaster=auto -o ControlPersist=600s
 pipelining = True 
 
 # Option to retry failed ssh executions if the failure is encountered in ssh itself
-retries = 5
+retries = 10