Shorten health check wait loop to 1.5 hours 23/46723/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 9 May 2018 02:13:59 +0000 (19:13 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 9 May 2018 02:13:59 +0000 (19:13 -0700)
Change-Id: Ic4c11dcfacef1d9dbb97f9f29677e07f9c149d00
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/scripts/deploy.sh

index 8ab79a2..656b410 100755 (executable)
@@ -39,7 +39,7 @@ if ! timeout 1 ping -c 1 "$RANCHER_IP"; then
 fi
 
 ssh-keygen -R $RANCHER_IP
-for n in $(seq 1 10); do
+for n in $(seq 1 6); do
     timeout 15m ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key ubuntu@$RANCHER_IP  'sudo su -l root -c "/root/oom/kubernetes/robot/ete-k8s.sh onap health"'
     RESULT=$?
     if [ $RESULT -eq 0 ]; then