Increase timeout for container collect logs
Reason: when testing with FIPS enabled, collect logs for containers is taking more to finish and ends timing out. This patch updates async call timeout and async_status waiter tasks to use the timeout in seconds defined by 'artcl_container_collect_timeout', instead of a hardcoded value. Change-Id: Ia936fa2894af5cf41c12a232aa0c1795d87400f7 Signed-off-by: Douglas Viroel <dviroel@redhat.com>
This commit is contained in:
parent
3cb42de4eb
commit
952eb55a28
|
@ -117,7 +117,7 @@
|
|||
register: container_collection_result
|
||||
until: container_collection_result.finished
|
||||
delay: 10
|
||||
retries: 60
|
||||
retries: "{{ ((artcl_container_collect_timeout|int) / 10)|int }}"
|
||||
when: "'container' in collect_log_types"
|
||||
|
||||
- name: Create find list file
|
||||
|
|
|
@ -44,6 +44,6 @@
|
|||
timeout --preserve-status -s 15 -k {{ (artcl_container_collect_timeout|int + 30)|string }}
|
||||
{{ artcl_container_collect_timeout|string }} bash -x /tmp/collect-container-logs.sh
|
||||
changed_when: true
|
||||
async: 600
|
||||
async: "{{ artcl_container_collect_timeout }}"
|
||||
poll: 0
|
||||
register: container_collection
|
||||
|
|
Loading…
Reference in New Issue