From: Andrew Schoen Date: Mon, 26 Feb 2018 13:54:56 +0000 (-0600) Subject: ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests X-Git-Tag: v12.2.4~1^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6e79fe97c96632be18006c9df62c82ea771b8887;p=ceph.git ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests Occasionally we get tests that fail because a test node becomes 'unreachable'. This should avoid those ssh connection issues we see sometimes by increasing the amount of times ansible will try to reconnect to a node after an ssh failure. Signed-off-by: Andrew Schoen (cherry picked from commit 44a5b2eb3adb18f9534ede267c181b7e5f053a2c) --- diff --git a/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini index 6194aa2a82be..a2c08e753070 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini @@ -12,6 +12,7 @@ setenv= ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config ANSIBLE_STDOUT_CALLBACK = debug ANSIBLE_RETRY_FILES_ENABLED = False + ANSIBLE_SSH_RETRIES = 5 VAGRANT_CWD = {changedir} CEPH_VOLUME_DEBUG = 1 deps= diff --git a/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini index 6d48c35b3b63..e8e62dc12796 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini @@ -13,6 +13,7 @@ setenv= ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config ANSIBLE_STDOUT_CALLBACK = debug ANSIBLE_RETRY_FILES_ENABLED = False + ANSIBLE_SSH_RETRIES = 5 VAGRANT_CWD = {changedir} CEPH_VOLUME_DEBUG = 1 deps=