diff options
author | Carsten Lund <lund@research.att.com> | 2017-02-22 21:11:35 +0000 |
---|---|---|
committer | Carsten Lund <lund@research.att.com> | 2017-02-22 21:11:35 +0000 |
commit | 7abef9cddd039d247e8201ecac45823ef17e1eb7 (patch) | |
tree | 924ca934f12aa6ba2d18ecfecaf1ddcfc880baef | |
parent | 70e56b39a2b4f5385c641d1f857fda6b95577c00 (diff) |
Wait for keypair to show up in controller.
Change-Id: I0d77b24553cdabd55e3f690b3baed44c86dde902
Signed-off-by: Carsten Lund <lund@research.att.com>
-rw-r--r-- | dcae-demo-controller/src/main/docker-build/controller-startup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dcae-demo-controller/src/main/docker-build/controller-startup.sh b/dcae-demo-controller/src/main/docker-build/controller-startup.sh index b64f8cc..a5b6a02 100644 --- a/dcae-demo-controller/src/main/docker-build/controller-startup.sh +++ b/dcae-demo-controller/src/main/docker-build/controller-startup.sh @@ -37,17 +37,21 @@ bin/dcae-controller.sh undeploy-service-instance -i $ZONE -s vm-cdap-cluster & bin/dcae-controller.sh deploy-user -l $ZONE -p OPEN-ECOMP -u $OPENSTACK_KEYNAME NETWORKPATH=/openstack/locations/$ZONE/projects/OPEN-ECOMP/networks/$NETWORK +KEYPATH=/openstack/locations/$ZONE/projects/OPEN-ECOMP/keypairs/$OPENSTACK_KEYNAME sleep 1m bin/dcae-controller.sh wait-for --timeout 300 --frequency 5 --path $NETWORKPATH --exists --verbose +bin/dcae-controller.sh wait-for --timeout 300 --frequency 5 --path $KEYPATH --exists --verbose bin/dcae-controller.sh deploy-service-instance -i $ZONE -s vm-docker-host-1 sleep 1m bin/dcae-controller.sh wait-for --timeout 300 --frequency 5 --path $NETWORKPATH --exists --verbose +bin/dcae-controller.sh wait-for --timeout 300 --frequency 5 --path $KEYPATH --exists --verbose bin/dcae-controller.sh deploy-service-instance -i $ZONE -s vm-postgresql sleep 2m bin/dcae-controller.sh wait-for --timeout 300 --frequency 5 --path $NETWORKPATH --exists --verbose +bin/dcae-controller.sh wait-for --timeout 300 --frequency 5 --path $KEYPATH --exists --verbose bin/dcae-controller.sh deploy-service-instance -i $ZONE -s vm-cdap-cluster bin/dcae-controller.sh wait-for --timeout 900 --path /services/vm-docker-host-1/instances/$ZONE --attribute healthTestStatus --match GREEN --verbose |