Skip to content

Commit 901c0e2

Browse files
mnietojiclaude
authored andcommitted
[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 <mnietoji@redhat.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 03fdc8f commit 901c0e2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

roles/reproducer/tasks/configure_controller.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
default('zuul')
3030
}}
3131
block:
32+
- name: Wait for controller-0 SSH to be ready
33+
ansible.builtin.wait_for_connection:
34+
timeout: 300
35+
sleep: 5
36+
3237
- name: Ensure directories exist
3338
ansible.builtin.file:
3439
path: "{{ cifmw_reproducer_controller_basedir }}/{{ item }}"

0 commit comments

Comments
 (0)