Increase timeout to unlock host on cert recovery

The certificate recovery role may try to unlock a host while it's
on a reboot loop. In order for the host-unlock command to be accepted
to host needs to be online.

For slower hardware the current 2 min timeout is not enough.
This commit changes it to 5 min.

Test case:

PASS: Run certificate recovery rehoming with multi node systems.

Closes-Bug: 2058426

Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
Change-Id: I7a7faf7707a19f477a968766cbe383e7dfdbd1cd
This commit is contained in:
Rei Oliveira 2024-03-19 20:12:34 -03:00
parent 3ac6db5973
commit d441c0afc7
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@
- name: Unlock standby controller and compute nodes
shell: source /etc/platform/openrc; system host-unlock {{ item }}
register: host_unlock_output
retries: 8
retries: 20
delay: 15
until: host_unlock_output is not failed
loop: "{{ lock_unlock_host_list }}"