]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests 20592/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 26 Feb 2018 13:54:56 +0000 (07:54 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 26 Feb 2018 13:54:56 +0000 (07:54 -0600)
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 <aschoen@redhat.com>
src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini
src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini

index 6194aa2a82be301e8022355202c707bacdb51608..a2c08e753070eededa96824c389d29a136d73998 100644 (file)
@@ -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=
index 6d48c35b3b633e6908a0a7263346e1f40921ec21..e8e62dc12796cc2974c7adff5d290478b5f4a675 100644 (file)
@@ -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=