Browse Source

Merge "Increase timeout for container collect logs"

changes/66/819266/9
Zuul 6 months ago committed by Gerrit Code Review
parent
commit
f999ab4439
  1. 2
      roles/collect_logs/tasks/collect.yml
  2. 2
      roles/collect_logs/tasks/collect/container.yml

2
roles/collect_logs/tasks/collect.yml

@ -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

2
roles/collect_logs/tasks/collect/container.yml

@ -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…
Cancel
Save