From 0101d95f47bb9b779e0da203dbbf2336aee37506 Mon Sep 17 00:00:00 2001 From: Miguel Angel Nieto Jimenez Date: Thu, 7 May 2026 14:57:10 +0200 Subject: [PATCH] [reproducer] Wait for controller-0 SSH before configuring After controller-0 reboots, SSH may become transiently unreachable while background system initialization completes. The configure_controller block delegates tasks to controller-0 without verifying connectivity first, causing intermittent UNREACHABLE failures on the install_ca task. Add wait_for_connection at the start of the delegate_to block to ensure controller-0 is fully accessible before proceeding. Signed-off-by: Miguel Angel Nieto Jimenez Co-Authored-By: Claude Opus 4.6 (1M context) --- roles/reproducer/tasks/configure_controller.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/reproducer/tasks/configure_controller.yml b/roles/reproducer/tasks/configure_controller.yml index a61128b07..ee546c464 100644 --- a/roles/reproducer/tasks/configure_controller.yml +++ b/roles/reproducer/tasks/configure_controller.yml @@ -29,6 +29,11 @@ default('zuul') }} block: + - name: Wait for controller-0 SSH to be ready + ansible.builtin.wait_for_connection: + timeout: 300 + sleep: 5 + - name: Ensure directories exist ansible.builtin.file: path: "{{ cifmw_reproducer_controller_basedir }}/{{ item }}"