Skip to content

Commit d9aafe5

Browse files
mnietojiclaude
authored andcommitted
[reproducer] Remove add_host that breaks reuse_ocp SSH connectivity
The add_host task in reuse_main.yaml reads the inventory from controller-0 and re-registers hosts with ansible_host set to controller-0.utility. This hostname only resolves from the hypervisor, not from the Zuul executor. The add_host also overwrites the existing SSH ProxyJump configuration, causing all subsequent delegated tasks to fail with UNREACHABLE because the executor tries to connect directly to controller-0.utility. This task was introduced in 10121fb as part of the refactor from command-based to role-based bootstrap execution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Miguel Angel Nieto Jimenez <mnietoji@redhat.com>
1 parent 551f772 commit d9aafe5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

roles/reproducer/tasks/reuse_main.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,6 @@
126126
loop:
127127
- "{{ cifmw_reproducer_controller_user_dir }}/ansible-bootstrap.log"
128128

129-
- name: Read inventory file and add it using add_host module
130-
vars:
131-
include_inventory_file: "{{ ansible_user_dir }}/ci-framework-data/artifacts/zuul_inventory.yml"
132-
ansible.builtin.include_role:
133-
name: cifmw_helpers
134-
tasks_from: inventory_file.yml
135-
136129
- name: Bootstrap environment on controller-0
137130
environment:
138131
ANSIBLE_LOG_PATH: "{{ ansible_user_dir }}/ansible-bootstrap.log"

0 commit comments

Comments
 (0)