Remove keystone public/admin_endpoint options

The public_endpoint and admin_endpoint options are used to set the base
hostname when listing versions. If they are not provided then the
response will use the same hostname as the request was made with - which
is almost always what you actually want.

This means devstack will respond correctly to a version list when behind
a floating IP for example.

Change-Id: Idc48b9d7bee9751deb24d730fdc560b163f39dfe
This commit is contained in:
Jamie Lennox 2015-03-30 15:11:11 +11:00
parent 43479db910
commit e929fdd47e

View File

@ -237,9 +237,6 @@ function configure_keystone {
iniset_rpc_backend keystone $KEYSTONE_CONF
# Set the URL advertised in the ``versions`` structure returned by the '/' route
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/"
iniset $KEYSTONE_CONF DEFAULT admin_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/"
iniset $KEYSTONE_CONF eventlet_server admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST"
# Register SSL certificates if provided