Extend timeout for RPM verification
For systems with many packages deployed or heavy loaded environments rpm verification takes the way more time then 5 minutes ending up in corrupted database of the rpm packages. So we set limit to 1 hour and extending amount of retries to wait for result to match the async timeout Change-Id: I30d29630214914bea99fc7fd66afa3218705d733 Closes-Bug: #1921292
This commit is contained in:
parent
4cdc2de73c
commit
e4b55822cf
@ -22,7 +22,7 @@
|
||||
failed_when: False
|
||||
changed_when: False
|
||||
register: rpmverify_task
|
||||
async: 300
|
||||
async: 3600
|
||||
poll: 0
|
||||
when:
|
||||
- not check_mode | bool
|
||||
|
@ -20,7 +20,8 @@
|
||||
changed_when: False
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
retries: 360
|
||||
delay: 10
|
||||
when:
|
||||
- rpmverify_task is not skipped
|
||||
tags:
|
||||
|
@ -21,7 +21,8 @@
|
||||
changed_when: False
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
retries: 360
|
||||
delay: 10
|
||||
when:
|
||||
- rpmverify_task is not skipped
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user