From 7560cc212a38fa9618b40ff1b27ae279120a7462 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Tue, 28 Jan 2020 17:28:16 +0100 Subject: [PATCH] Rise async value for containers starting commands Official documentation states: If the value of async: is not high enough, this will cause the "check on it later" task to fail because the temporary status file that the async_status: is looking for will not have been written or no longer exist. And the listed there example has async=1000. Rize the value of a 300 used in tripleo_container_manage for creating new containers to appear to be "high enough"... Change-Id: I598d230bfbb5696f1c0799295d9e456eade56676 Closes-bug: #1861093 Signed-off-by: Bogdan Dobrelya (cherry picked from commit a4db9a480b9e26dbe51c26873088b92ec1db32f8) --- .../roles/tripleo-container-manage/tasks/podman/create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo_ansible/roles/tripleo-container-manage/tasks/podman/create.yml b/tripleo_ansible/roles/tripleo-container-manage/tasks/podman/create.yml index 23fe1e238..46362e5aa 100644 --- a/tripleo_ansible/roles/tripleo-container-manage/tasks/podman/create.yml +++ b/tripleo_ansible/roles/tripleo-container-manage/tasks/podman/create.yml @@ -15,7 +15,7 @@ # under the License. - name: "Async container create/run" - async: "{{ (not ansible_check_mode | bool) | ternary('300', omit) }}" + async: "{{ (not ansible_check_mode | bool) | ternary('600', omit) }}" poll: "{{ (not ansible_check_mode | bool) | ternary('0', omit) }}" register: create_async_results loop: "{{ batched_container_data | haskey(attribute='action', reverse=True) }}"