Test using RAM disk for /dockerdata-nfs
[integration.git] / deployment / heat / onap-oom / scripts / deploy.sh
index e3acd3c..8a41a78 100755 (executable)
@@ -68,12 +68,13 @@ ssh-keygen -R $RANCHER_IP
 ssh -o StrictHostKeychecking=no -i $SSH_KEY ubuntu@$RANCHER_IP "sed -u '/Cloud-init.*finished/q' <(tail -n+0 -f /var/log/cloud-init-output.log)"
 
 for n in $(seq 1 6); do
+    echo "Wait count $n of 6"
+    sleep 15m
     timeout 15m ssh -i $SSH_KEY ubuntu@$RANCHER_IP  'sudo su -l root -c "/root/oom/kubernetes/robot/ete-k8s.sh onap health"'
     RESULT=$?
     if [ $RESULT -eq 0 ]; then
        break
     fi
-    sleep 15m
 done
 ROBOT_POD=$(ssh -i $SSH_KEY ubuntu@$RANCHER_IP 'sudo su -c "kubectl --namespace onap get pods"' | grep robot | sed 's/ .*//')
 if [ "$ROBOT_POD" == "" ]; then