Procházet 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 před 6 roky
rodič
revize
b6bdee671a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      roles/openshift_node/tasks/upgrade/restart.yml

+ 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: