Skip to content

Commit 065623d

Browse files
Merge pull request #594 from akrzos/assisted_finalizing_timeouts
Add customizable finalizing timeouts for assisted-installer
2 parents 97bbbdf + 23be076 commit 065623d

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The listed hardware has been used for cluster deployments successfully. Potentia
3838

3939
| Hardware | MNO | SNO |
4040
| ------------------ | --- | --- |
41+
| Dell r750 | Yes | No |
4142
| Dell r660 | Yes | Yes |
4243
| Dell r650 | Yes | Yes |
4344
| Dell r640 | Yes | Yes |

ansible/roles/bastion-assisted-installer/defaults/main/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ assisted_postgres_image: quay.io/edge-infrastructure/postgresql-12-centos7
1616
assisted_installer_host: "{{ groups['bastion'][0] }}"
1717
assisted_installer_port: 8090
1818
assisted_image_service_port: 8888
19+
20+
# Enables longer timeouts due to r750s longer reboot timing
21+
enable_assisted_installer_long_timeouts: false
22+
assisted_installer_long_timeout: 140m

ansible/roles/bastion-assisted-installer/templates/onprem-environment.j2

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,23 @@ CONTROLLER_IMAGE={{ assisted_installer_controller_image.split(":")[0] }}@{{ assi
4343
CONTROLLER_IMAGE={{ assisted_installer_controller_image }}
4444
{% endif %}
4545
AGENT_DOCKER_IMAGE={{ assisted_installer_agent_image }}
46+
47+
# Additional finalizing env variables to permit r750s with slow reboot time to join cluster
48+
{% if enable_assisted_installer_long_timeouts %}
49+
FINALIZING_STAGE_WAITING_FOR_CLUSTER_OPERATORS_TIMEOUT={{ assisted_installer_long_timeout }}
50+
FINALIZING_STAGE_ADDING_ROUTER_CA_TIMEOUT={{ assisted_installer_long_timeout }}
51+
FINALIZING_STAGE_APPLYING_OLM_MANIFESTS_TIMEOUT={{ assisted_installer_long_timeout }}
52+
FINALIZING_STAGE_WAITING_FOR_OLM_OPERATORS_CSV_INITIALIZATION_TIMEOUT={{ assisted_installer_long_timeout }}
53+
FINALIZING_STAGE_WAITING_FOR_OLM_OPERATORS_CSV_TIMEOUT={{ assisted_installer_long_timeout }}
54+
FINALIZING_STAGE_WAITING_FOR_OLM_OPERATOR_SETUP_JOBS_TIMEOUT={{ assisted_installer_long_timeout }}
55+
FINALIZING_STAGE_DONE_TIMEOUT={{ assisted_installer_long_timeout }}
56+
{% else %}
57+
# Set enable_assisted_installer_long_timeouts to true to enable during setup-bastion.yml
58+
# FINALIZING_STAGE_WAITING_FOR_CLUSTER_OPERATORS_TIMEOUT={{ assisted_installer_long_timeout }}
59+
# FINALIZING_STAGE_ADDING_ROUTER_CA_TIMEOUT={{ assisted_installer_long_timeout }}
60+
# FINALIZING_STAGE_APPLYING_OLM_MANIFESTS_TIMEOUT={{ assisted_installer_long_timeout }}
61+
# FINALIZING_STAGE_WAITING_FOR_OLM_OPERATORS_CSV_INITIALIZATION_TIMEOUT={{ assisted_installer_long_timeout }}
62+
# FINALIZING_STAGE_WAITING_FOR_OLM_OPERATORS_CSV_TIMEOUT={{ assisted_installer_long_timeout }}
63+
# FINALIZING_STAGE_WAITING_FOR_OLM_OPERATOR_SETUP_JOBS_TIMEOUT={{ assisted_installer_long_timeout }}
64+
# FINALIZING_STAGE_DONE_TIMEOUT={{ assisted_installer_long_timeout }}
65+
{% endif %}

0 commit comments

Comments
 (0)