diff options
| author | Steven Dake <sdake@redhat.com> | 2014-10-17 00:41:46 -0700 |
|---|---|---|
| committer | Steven Dake <sdake@redhat.com> | 2014-10-17 00:41:46 -0700 |
| commit | e35e4f931a949027edaa8586a78f9484ec04a92d (patch) | |
| tree | fa228e6b3d0e92f2565b6ec9dc6153161db96e4b /docker | |
| parent | a14b8048c273f12aa4b941c0ff923997ad7524d6 (diff) | |
| download | kolla-e35e4f931a949027edaa8586a78f9484ec04a92d.tar.gz kolla-e35e4f931a949027edaa8586a78f9484ec04a92d.zip | |
Properly create endpoints for Nova services
The endpoints for Nova services needed to be properly created for ports
8773 (ec2/ec2) and 8774(nova/compute) and 8774(novav3/computev3).
Change-Id: I5e1931d2e7ea35f741ab73b070e24926a3763054
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/nova-controller/nova-api/start.sh | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/docker/nova-controller/nova-api/start.sh b/docker/nova-controller/nova-api/start.sh index 0961f03eb..eca024204 100755 --- a/docker/nova-controller/nova-api/start.sh +++ b/docker/nova-controller/nova-api/start.sh @@ -16,9 +16,21 @@ crux user-create --update \ -r admin crux endpoint-create --remove-all \ - -n glance -t image \ - -I "http://${NOVA_API_SERVICE_HOST}:9292" \ - -P "http://${PUBLIC_IP}:9292" \ - -A "http://${NOVA_API_SERVICE_HOST}:9292" + -n ec2 -t ec2 \ + -I "http://${NOVA_EC2_API_SERVICE_HOST}:8773/services/Cloud" \ + -P "http://${PUBLIC_IP}:8773/services/Cloud" \ + -A "http://${NOVA_EC2_API_SERVICE_HOST}:8773/services/Admin" + +crux endpoint-create --remove-all \ + -n nova -t compute \ + -I "http://${NOVA_API_SERVICE_HOST}:8774/v2/\$(tenant_id)s" \ + -P "http://${PUBLIC_IP}:8774/v2/\$(tenant_id)s" \ + -A "http://${NOVA_API_SERVICE_HOST}:8774/v2/\$(tenant_id)s" + +crux endpoint-create --remove-all \ + -n novav3 -t computev3 \ + -I "http://${NOVA_API_SERVICE_HOST}:8774/v3" \ + -P "http://${PUBLIC_IP}:8774/v3" \ + -A "http://${NOVA_API_SERVICE_HOST}:8774/v3" exec /usr/bin/nova-api |
