瀏覽代碼

Merge pull request #8573 from vrutkovs/etcd-scaleup-prepull

Skip prepull status check when etcd is being scaled up
OpenShift Merge Robot 6 年之前
父節點
當前提交
de8719f969
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      roles/openshift_control_plane/tasks/main.yml

+ 4 - 1
roles/openshift_control_plane/tasks/main.yml

@@ -158,7 +158,10 @@
     jid: "{{ etcd_prepull.ansible_job_id }}"
   register: job_result
   until: job_result.finished
-  when: etcd_image_exists.stdout_lines == []
+  when:
+  - etcd_image_exists is defined
+  - "'stdout_lines' in etcd_image_exists"
+  - etcd_image_exists.stdout_lines == []
   retries: 30
 
 - name: Start and enable self-hosting node