From cbdba67ad0b5a3e29db390c8e6b66721719184c0 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 28 Jul 2022 16:47:21 +0100 Subject: [PATCH] Increase ControlPersist timeout to 300 seconds This ControlPersist socket periodically closing seems to be the cause of intermittemt MODULE FAULIRE particularly in zuul CI jobs. Extend the timout to make this less likley to happen. See https://github.com/ansible/ansible/issues/78344 Change-Id: I54a9e637c9575c32429d28b89541ba026580e511 --- scripts/openstack-ansible.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/openstack-ansible.rc b/scripts/openstack-ansible.rc index 69dd0f072c..b5551f5418 100644 --- a/scripts/openstack-ansible.rc +++ b/scripts/openstack-ansible.rc @@ -50,6 +50,7 @@ export ANSIBLE_TIMEOUT="${ANSIBLE_TIMEOUT:-5}" export ANSIBLE_TRANSPORT="${ANSIBLE_TRANSPORT:-openstack.osa.ssh}" export ANSIBLE_SSH_PIPELINING="${ANSIBLE_SSH_PIPELINING:-True}" export ANSIBLE_SSH_RETRIES="${ANSIBLE_SSH_RETRIES:-5}" +export ANSIBLE_SSH_ARGS="${ANSIBLE_SSH_ARGS:--C -o ControlMaster=auto -o ControlPersist=300}" export ANSIBLE_PIPELINING="${ANSIBLE_SSH_PIPELINING}" export ANSIBLE_FORKS="${ANSIBLE_FORKS:-OSA_ANSIBLE_FORKS}"