While checking that the controller is up, we don't care about
[arvados-formula.git] / arvados / controller / service / running.sls
index 6c95b3c9f1e17928242164d1412c1e5782332065..edd0476e839e59241b393390357a451b137a08b8 100644 (file)
@@ -25,12 +25,12 @@ arvados-controller-service-running-service-running:
 arvados-controller-service-running-service-ready-cmd-run:
   cmd.run:
     - name: |
-        while ! (curl -s {{  arvados.cluster.Services.Controller.ExternalURL }} | \
+        while ! (curl -k -s {{  arvados.cluster.Services.Controller.ExternalURL }} | \
                  grep -qE "req-[a-z0-9]{20}.{5}error_token") do
           echo 'waiting for API to be ready...'
           sleep 1
         done
-    - timeout: 520
+    - timeout: 120
     - unless: |
         curl -s {{  arvados.cluster.Services.Controller.ExternalURL }} | \
         grep -qE "req-[a-z0-9]{20}.{5}error_token"