From e929fdd47e31919bb8e30d2300e3c8e43b1bb9cc Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Mon, 30 Mar 2015 15:11:11 +1100 Subject: [PATCH] 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 --- lib/keystone | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/keystone b/lib/keystone index 1e39ab6bc2..1d12583b42 100644 --- a/lib/keystone +++ b/lib/keystone @@ -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