move the heat domain creation after openstack.sh 07/21207/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 15 Sep 2016 16:26:04 +0000 (11:26 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 15 Sep 2016 16:26:40 +0000 (11:26 -0500)
Change-Id: I93c5d7faebca8c61fffca6cc796e44659df805d9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/deploy.sh

index 3b5e500..c455727 100755 (executable)
@@ -158,8 +158,7 @@ check_status() {
            retval=1
        fi
     done
-    status=`juju action do heat/0 domain-setup`
-    echo $status
+
     juju expose ceph-radosgw
     #juju ssh ceph/0 \ 'sudo radosgw-admin user create --uid="ubuntu" --display-name="Ubuntu Ceph"'
 
@@ -174,6 +173,11 @@ check_status
 echo "...... deployment finished  ......."
 
 ./openstack.sh "$opnfvsdn" "$opnfvlab" "$opnfvdistro" "$openstack" || true
+
+# creating heat domain after puching the public API into /etc/hosts
+status=`juju action do heat/0 domain-setup`
+echo $status
+
 sudo ../juju/get-cloud-images || true
 ../juju/joid-configure-openstack || true