move the heat domain creation after openstack.sh 09/21209/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:27:37 +0000 (16:27 +0000)
Change-Id: I93c5d7faebca8c61fffca6cc796e44659df805d9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
(cherry picked from commit f375a92d83e9a6d589ff1961e994004afc5d497e)

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