浏览代码

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

Increase podman pull timeout
OpenShift Merge Robot 5 年之前
父节点
当前提交
bfd1848273
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 2 0
      roles/openshift_node/tasks/apply_machine_config.yml
  2. 4 0
      roles/openshift_node/tasks/config.yml

+ 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 }}"