Skip to content

Add retry logic to assisted-installer wait_for_hosts - #9872

Merged
agonzalezrh merged 1 commit into
developmentfrom
fix/assisted-installer-install-wait-retry
Jul 16, 2026
Merged

Add retry logic to assisted-installer wait_for_hosts#9872
agonzalezrh merged 1 commit into
developmentfrom
fix/assisted-installer-install-wait-retry

Conversation

@rhjcd

@rhjcd rhjcd commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Same fix as #9871 (host-ocp4-assisted-scale) applied to the host-ocp4-assisted-installer role.

The wait_for_hosts task can fail on transient Assisted Installer API errors. Adding until/retries/delay makes it retry up to 3 times with 20s between attempts.

Companion v2 change needed at: https://github.com/rhpds/agnosticd-v2/blob/5744e00fe05787e752334db87b0497cf8f5970ba/ansible/roles/host_ocp4_assisted_installer/tasks/setup_infrastructure.yml#L153

Same fix as host-ocp4-assisted-scale (PR #9871) applied to the
installer role. Transient API failures from the Assisted Installer
service can cause wait_for_hosts to fail on first attempt.
@rhjcd

rhjcd commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

@agonzalezrh same retry fix as #9871 but for the installer role. The v2 equivalent also needs this change at setup_infrastructure.yml#L153.

@agonzalezrh
agonzalezrh merged commit ccd4a96 into development Jul 16, 2026
8 checks passed
@agonzalezrh
agonzalezrh deleted the fix/assisted-installer-install-wait-retry branch July 16, 2026 18:21
agonzalezrh pushed a commit to rhpds/agnosticd-v2 that referenced this pull request Jul 17, 2026
Transient API failures from the Assisted Installer service can cause
wait_for_hosts to fail on first attempt. Adding until/retries/delay
makes it retry up to 3 times with 20s between attempts.

Companion v1 fix: redhat-cop/agnosticd#9872
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants