From 44a5b2eb3adb18f9534ede267c181b7e5f053a2c Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 26 Feb 2018 07:54:56 -0600 Subject: [PATCH] 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 --- src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini | 1 + src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini | 1 + 2 files changed, 2 insertions(+) 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 6194aa2a82be3..a2c08e753070e 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 6d48c35b3b633..e8e62dc12796c 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= -- 2.39.5