make sure master charm in kubernetes resolved before we are 25/40025/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 23 Aug 2017 18:11:15 +0000 (13:11 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 23 Aug 2017 18:11:15 +0000 (13:11 -0500)
 testing

Change-Id: I5da42ff08acfcdcf3049b5facd9dc2f9146a035e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/deploy.sh

index b004885..85374e7 100755 (executable)
@@ -298,8 +298,7 @@ deploy
 check_status executing
 
 echo_info "Deployment finished"
-
-echo_info "Configuring public access"
+juju status --format=tabular
 
 # translate bundle.yaml to json
 python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' < bundles.yaml > bundles.json
@@ -327,6 +326,9 @@ if ([ $opnfvmodel == "openstack" ]); then
     fi
 
 elif ([ $opnfvmodel == "kubernetes" ]); then
+   #Workarounf for master chanrm as it takes 5 minutes to run properly
+    check_status waiting
+    check_status executing
     echo_info "Configuring Kubernetes deployment"
 
     ./k8.sh