read vip from phase1 services. 85/16085/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 29 Jun 2016 04:19:58 +0000 (23:19 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 29 Jun 2016 04:22:05 +0000 (23:22 -0500)
This change is to read the keystone vip from phase1 services now.

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

index 37b0c0d..6d9e8ae 100644 (file)
@@ -154,7 +154,7 @@ echo "------ Create OpenRC file [$JOID_ADMIN_OPENRC] ------"
 # get Keystone ip
 case "$HA_MODE" in
     "ha")
-        KEYSTONE=$(cat bundles.yaml |shyaml get-value openstack-phase2.services.keystone.options.vip)
+        KEYSTONE=$(cat bundles.yaml |shyaml get-value openstack-phase1.services.keystone.options.vip)
         ;;
     *)
         KEYSTONE=$(juju status keystone |grep public-address|sed -- 's/.*\: //')