Skip to content

Make assisted-installer cluster install timeout configurable - #9902

Open
rhjcd wants to merge 1 commit into
redhat-cop:developmentfrom
rhjcd:hcp-cnv-install-timeout-var
Open

Make assisted-installer cluster install timeout configurable#9902
rhjcd wants to merge 1 commit into
redhat-cop:developmentfrom
rhjcd:hcp-cnv-install-timeout-var

Conversation

@rhjcd

@rhjcd rhjcd commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

The host-ocp4-assisted-installer task Start cluster installation hardcodes async: 5400 / wait_timeout: 5400 (90 min). On Ceph-backed CNV environments the assisted-installer cluster install can run slightly past 90 minutes, so Ansible kills the still-progressing install with Timeout exceeded.

Observed in prod job 116558 (HCP-on-CNV, guid bfgzt): the install ran 13:30:53 → 15:02:03 = 91m 9s and was killed while still polling finished=0.

Change

  • Add ai_cluster_install_timeout to roles/host-ocp4-assisted-installer/vars/main.yaml, defaulting to 5400 — behavior is unchanged for every existing consumer.
  • Use the var for both async and wait_timeout on the install task.

This lets consumers raise the timeout via agnosticv without changing the conservative role default — the same pattern @agonzalezrh requested for ai_workers_vm_ready_retries on #9886 ("add a default value ... use agV to set a higher value").

The higher value for HCP-on-CNV is set in agnosticv (ai_cluster_install_timeout: 7200), not here.

Related: RHDPOPS-23971.

The Start cluster installation task hardcoded async/wait_timeout at 5400s
(90 min). On Ceph-backed CNV environments the assisted-installer cluster
install can run slightly longer, causing a spurious Timeout exceeded
failure while the install is still progressing.

Add ai_cluster_install_timeout (default 5400, unchanged behavior) in the
role vars and use it for both async and wait_timeout, so consumers can
raise it via agnosticv without altering the conservative role default.
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.

1 participant