From 2c86ba774ebbeba23e75df5c515c613662accf06 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Wed, 18 Sep 2024 09:38:22 +0100 Subject: [PATCH] CI: Workaround rc:-13 issue There is a race condition in Ansible that can result in this failure: msg: |- MODULE FAILURE See stdout/stderr for the exact error rc: -13 Disabling SSH pipelining prevents the issue at the cost of Ansible execution duration. See: - https://github.com/ansible/ansible/issues/78344 - https://github.com/ansible/ansible/issues/81777 Change-Id: I62221df4650ddd02afdbc0993e783bf66b706a1c --- playbooks/kayobe-base/pre.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playbooks/kayobe-base/pre.yml b/playbooks/kayobe-base/pre.yml index e2a106826..45bf2f643 100644 --- a/playbooks/kayobe-base/pre.yml +++ b/playbooks/kayobe-base/pre.yml @@ -15,7 +15,9 @@ callbacks_enabled = ansible.posix.profile_tasks [ssh_connection] - pipelining = True + # NOTE(wszusmki): Disable pipelining due to: + # https://github.com/ansible/ansible/issues/81777 + pipelining = False retries = 3 ansible_cfg_kolla: | [defaults] @@ -31,7 +33,9 @@ callbacks_enabled = ansible.posix.profile_tasks [ssh_connection] - pipelining = True + # NOTE(wszusmki): Disable pipelining due to: + # https://github.com/ansible/ansible/issues/81777 + pipelining = False retries = 3 roles: - role: kayobe-diagnostics