Prechádzať zdrojové kódy

Align node startup async tasks with the ExecStartTimeout value

The node service will either succeed or fail within 300s, no need to
wait longer than that.
Scott Dodson 7 rokov pred
rodič
commit
b6bdee671a

+ 2 - 1
roles/openshift_node/tasks/upgrade/restart.yml

@@ -40,7 +40,7 @@
   service:
     name: "{{ openshift_service_type }}-node"
     state: started
-  async: 100
+  async: 300
   poll: 0
   register: node_service
   failed_when: false
@@ -58,6 +58,7 @@
   register: job_result
   until: job_result.finished
   retries: 30
+  delay: 10
 
 - name: Wait for master API to come back online
   wait_for: