diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-04-19 17:22:34 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-04-19 17:22:34 -0700 |
commit | ae7c76453603c74bfc035828dc9744fdd6495728 (patch) | |
tree | 8bf28069b1d57e4efcbeb01711af331eaa2a8ed8 | |
parent | 3998702efb2f7600b053c6dbb9aa0195e4de781b (diff) |
Increase wait time for larger VM to start up
Change-Id: I298fc081c66d77011be60a2ca594540e344b5fd8
Issue-ID: INT-414
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rwxr-xr-x | deployment/heat/onap-oom/scripts/deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh index c49239403..056174d28 100755 --- a/deployment/heat/onap-oom/scripts/deploy.sh +++ b/deployment/heat/onap-oom/scripts/deploy.sh @@ -19,8 +19,8 @@ for n in $(seq 1 5); do envsubst < $ENV_FILE > $ENV_FILE~ openstack stack create -t ./onap-oom.yaml -e $ENV_FILE~ onap-oom - for i in $(seq 1 10); do - sleep 10 + for i in $(seq 1 30); do + sleep 30 K8S_IP=$(openstack stack output show onap-oom k8s_vm_ip -c output_value -f value) RANCHER_IP=$(openstack stack output show onap-oom rancher_vm_ip -c output_value -f value) timeout 1 ping -c 1 "$K8S_IP" && timeout 1 ping -c 1 "$RANCHER_IP" && break |