Pārlūkot izejas kodu

Merge pull request #12114 from mtnbikenc/increase-podman-timeout

Increase podman pull timeout
OpenShift Merge Robot 5 gadi atpakaļ
vecāks
revīzija
bfd1848273

+ 2 - 0
roles/openshift_node/tasks/apply_machine_config.yml

@@ -62,6 +62,8 @@
     register: podman_pull
     until:
       podman_pull.stdout != ''
+    retries: 12
+    delay: 10
 
   - name: Apply machine config
     command: "podman run {{ podman_mounts }} {{ podman_flags }} {{ mcd_command }}"

+ 4 - 0
roles/openshift_node/tasks/config.yml

@@ -128,6 +128,8 @@
     register: podman_pull
     until:
       podman_pull.stdout != ''
+    retries: 12
+    delay: 10
 
   - name: Get machine controller daemon image from release image
     command: "podman run --rm {{ l_release_image }} image machine-config-operator"
@@ -143,6 +145,8 @@
     register: podman_pull
     until:
       podman_pull.stdout != ''
+    retries: 12
+    delay: 10
 
   - name: Apply ignition manifest
     command: "podman run {{ podman_mounts }} {{ podman_flags }} {{ mcd_command }}"