undercloud-setup: Add a timeout to SSH for multinode vxlan setup
This commit addresses a problem of hung CI jobs during the execution of toci_vxlan_networking_multinode.sh. Specifically, if incorrect credentials are passed the job can hang indefinitely until the worker is reaped. To do this a 'timeout' command is prepended to the script with a default timeout of 60 seconds. Change-Id: I2093ed1c7c4e33f96872153b66b7fc446b150fab
This commit is contained in:
parent
ecfe2c01b0
commit
9f9f5c0fde
@ -8,7 +8,7 @@
|
||||
when: toci_vxlan_networking_multinode|bool
|
||||
|
||||
- name: Run the TripleO-CI VXLAN networking script on subnodes
|
||||
shell: "{{ working_dir }}/toci_vxlan_networking_multinode.sh > {{ working_dir }}/toci_vxlan_networking_multinode.sh.log 2>&1"
|
||||
shell: "timeout --preserve-status 60s {{ working_dir }}/toci_vxlan_networking_multinode.sh > {{ working_dir }}/toci_vxlan_networking_multinode.sh.log 2>&1"
|
||||
when: toci_vxlan_networking_multinode|bool
|
||||
|
||||
- name: Install the TripleO-CI VXLAN networking script
|
||||
|
Loading…
x
Reference in New Issue
Block a user