Skip to content

Commit

Permalink
fix: Increase timeout from 300 to 360 sec (#218)
Browse files Browse the repository at this point in the history
The creation of VM's requires more time on low performance systems.

Signed-off-by: Klaus Smolin <smolin@de.ibm.com>
  • Loading branch information
smolin-de committed Oct 19, 2023
1 parent f76294f commit c0587ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/create_bootstrap/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
--console pty,target_type=serial \
--wait=-1 \
--noautoconsole
timeout: 300
timeout: 360
register: cmd_output

- name: Debug, print above command output
Expand Down
2 changes: 1 addition & 1 deletion roles/create_compute_node/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
nameserver={{ env.cluster.networking.nameserver1 }}{{ (',' + env.cluster.networking.nameserver2) if env.cluster.networking.nameserver2 is defined else '' }} \
coreos.live.rootfs_url=http://{{ env.bastion.networking.ip }}:8080/bin/{{ rhcos_live_rootfs }} \
coreos.inst.ignition_url=http://{{ env.bastion.networking.ip }}:8080/ignition/worker.ign {{ _vm_console }}"
timeout: 300
timeout: 360
register: cmd_output
- name: Debug, print above command output
ansible.builtin.debug:
Expand Down
2 changes: 1 addition & 1 deletion roles/create_compute_nodes/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
--extra-args "rd.neednet=1 coreos.inst=yes coreos.inst.install_dev=vda coreos.live.rootfs_url=http://{{ env.bastion.networking.ip }}:8080/bin/{{ rhcos_live_rootfs }} ip={{ env.cluster.nodes.compute.ip[i] }}::{{ env.cluster.networking.gateway }}:{{ env.cluster.networking.subnetmask }}:{{ env.cluster.nodes.compute.hostname[i] }}::none:1500 nameserver={{ env.cluster.networking.nameserver1 }} {{ ('--nameserver=' + env.cluster.networking.nameserver2) if env.cluster.networking.nameserver2 is defined else '' }} coreos.inst.ignition_url=http://{{ env.bastion.networking.ip }}:8080/ignition/worker.ign {{ _vm_console }}" \
--wait=-1 \
--noautoconsole
timeout: 300
timeout: 360
with_sequence: start=0 end={{ (env.cluster.nodes.compute.hostname | length) - 1 }} stride=1
loop_control:
extended: yes
Expand Down
2 changes: 1 addition & 1 deletion roles/create_control_nodes/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
--console pty,target_type=serial \
--wait=-1 \
--noautoconsole
timeout: 300
timeout: 360
with_sequence: start=0 end={{ (env.cluster.nodes.control.hostname | length) - 1 }} stride=1
loop_control:
extended: yes
Expand Down

0 comments on commit c0587ae

Please sign in to comment.