Skip to content

Commit

Permalink
fix: Adjust wait time for bootstrap complete (#208)
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Smolin <smolin@de.ibm.com>
  • Loading branch information
smolin-de committed Oct 4, 2023
1 parent 254e868 commit 34dcd55
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions roles/wait_for_bootstrap/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
---

- name: Start openshift-installer with 'wait-for bootstrap-complete' (async task)
tags: wait_for_bootstrap
ansible.builtin.command: openshift-install wait-for bootstrap-complete --dir=/root/ocpinst
# Set wait time to 75 min, because it depends highly on system performance and network speed
async: 4500
poll: 0
register: watch_bootstrap

- name: "Wait for first node-bootstrapper request. Takes < 10 min with good network connection (retry every 30s)...To watch progress, \
SSH to root@bastion, SSH to core@bootstrap-ip and run 'journalctl -b -f -u release-image.service -u bootkube.service'"
tags: wait_for_bootstrap
Expand All @@ -24,6 +16,14 @@ SSH to root@bastion, SSH to core@bootstrap-ip and run 'journalctl -b -f -u relea
ansible.builtin.debug:
var: csr_check.stdout_lines

- name: Start openshift-installer with 'wait-for bootstrap-complete' (async task)
tags: wait_for_bootstrap
ansible.builtin.command: openshift-install wait-for bootstrap-complete --dir=/root/ocpinst
# Installer will wait up to ~50 min
async: 3060
poll: 0
register: watch_bootstrap

- name: "Retry wait-for bootstrap-complete job ID check until it's finished. This may take some time... To watch progress, \
SSH to bastion, switch to root, from there, SSH to core@bootstrap-ip and run 'journalctl -b -f -u release-image.service -u bootkube.service'"
tags: wait_for_bootstrap
Expand Down

0 comments on commit 34dcd55

Please sign in to comment.