From f375a92d83e9a6d589ff1961e994004afc5d497e Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 15 Sep 2016 11:26:04 -0500 Subject: [PATCH] move the heat domain creation after openstack.sh Change-Id: I93c5d7faebca8c61fffca6cc796e44659df805d9 Signed-off-by: Narinder Gupta --- ci/deploy.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index 3b5e5002..c455727c 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -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 -- 2.16.6