X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fopenstack.sh;h=5bee7d08fab363a108d0d8419488ed71a19b35c5;hb=64d633617d7b5a2dc635d95558cf5dbbdcbc5fe7;hp=2e1eb9e1074116937c060381d7e65e18d686a1c2;hpb=62c7cc8514c32948501e8a85e38dea8a49669491;p=joid.git diff --git a/ci/openstack.sh b/ci/openstack.sh index 2e1eb9e1..5bee7d08 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -114,8 +114,11 @@ if [ "$API_FQDN" != "None" ]; then echo 'API FQDN injected'; \ fi" - #change in jumphost as well as below commands will run on jumphost + # remove this enhancement for heat that does not manage endpoints + juju run --service=heat "cp /etc/hosts /tmp/hosts ; \ + grep -v $API_FQDN /tmp/hosts > /etc/hosts" + #change in jumphost as well as below commands will run on jumphost if grep $API_FQDN /etc/hosts; then echo 'API FQDN already present' else @@ -217,4 +220,3 @@ openstack congress datasource create keystone "keystone" \ --config tenant_name=$OS_TENANT_NAME \ --config password=$OS_PASSWORD \ --config auth_url=http://$keystoneIp:5000/v2.0 -