diff options
author | David Blaisonneau <david.blaisonneau@orange.com> | 2016-07-21 12:27:12 +0200 |
---|---|---|
committer | David Blaisonneau <david.blaisonneau@orange.com> | 2016-07-21 12:27:20 +0200 |
commit | 50c6bc6d576f8a378ca272778e7610b449914891 (patch) | |
tree | 27edff8d28be79a93fdd33ad5628bac1c4597b4c /ci | |
parent | 19e9147cc35cb1396cf5c5e994621d6a23b83769 (diff) |
[JOID] update openstack.sh for congress
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/openstack.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh index 781e862d..d436140d 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -164,15 +164,6 @@ fi # Create Congress datasources sudo apt-get install -y python-congressclient -# Remove public endpoint and recreate it from internal -# Waiting congress client can be use with internal endpoints -if [ "$API_FQDN" != "''" ]; then - CONGRESS_PUB_ENDPOINT=$(openstack endpoint list --service policy --interface public -c ID -f value) - openstack endpoint delete $CONGRESS_PUB_ENDPOINT - CONGRESS_NEW_PUB_ENDPOINT=$(openstack endpoint list --service policy --interface internal -c URL -f value) - openstack endpoint create --region RegionOne policy public $CONGRESS_NEW_PUB_ENDPOINT -fi - openstack congress datasource create nova "nova" \ --config username=$OS_USERNAME \ --config tenant_name=$OS_TENANT_NAME \ @@ -243,4 +234,3 @@ openstack congress datasource create keystone "keystone" \ # netid=`neutron net-show demo-net -c id -f value` # nova boot --flavor m1.small --image cirros-0.3.3-x86_64 --nic net-id=$netid --security-group default --key-name ubuntu-keypair demo-instance1 # nova floating-ip-associate demo-instance1 10.5.15.8 - |