From 38b7e7d501e049349ef70d2167f92e23997627b0 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 22 Jan 2013 16:30:18 +0000 Subject: [PATCH] heat api paste.ini auth_uri should use auth_port For token based auth to work, the auth_uri needs to use auth_port, which points at the internalURL of the keystone service, the current config uses publicURL which causes token auth requests to keystone to fail ref bug 1072944 Change-Id: If7e0c2246205377f57f879ccf8bf36ff8b0d92e1 Signed-off-by: Steven Hardy --- etc/heat/heat-api-paste.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/heat/heat-api-paste.ini b/etc/heat/heat-api-paste.ini index 218afe56..06465b4e 100644 --- a/etc/heat/heat-api-paste.ini +++ b/etc/heat/heat-api-paste.ini @@ -78,7 +78,7 @@ service_port = 5000 auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http -auth_uri = http://127.0.0.1:5000/v2.0 +auth_uri = http://127.0.0.1:35357/v2.0 # These must be set to your local values in order for the token # authentication to work. @@ -91,4 +91,4 @@ paste.filter_factory = heat.common.wsgi:filter_factory heat.filter_factory = keystone.middleware.heat_auth_token:KeystoneContextMiddleware [filter:custombackendauth] -paste.filter_factory = heat.common.custom_backend_auth:filter_factory \ No newline at end of file +paste.filter_factory = heat.common.custom_backend_auth:filter_factory -- 2.45.2