From 09f524e7094d2ed976cf1cfb4236acf081b80081 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 27 Jul 2020 08:40:48 +0900 Subject: [PATCH] Unset keystone::public_endpoint When public_endpoint parameter is set, keystone composes request urls from that parameter. However this can cause incorrect url detection especially for requests coming from admin endpoint, because we use different urls for each endpoints (admin/internal/public) in TripleO deployment. This patch unsets that public_endpoint parameter and makes keystone detect request urls by headers passed from haproxy. Closes-bug: #1889017 Depends-on: https://review.opendev.org/#/c/742350/ Change-Id: Ib5f017e95f961c04da3201d75ed17424e168b270 (cherry picked from commit ac50d6483da28748877ce2f1ac2d42ec4cc04b8b) --- deployment/keystone/keystone-container-puppet.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/deployment/keystone/keystone-container-puppet.yaml b/deployment/keystone/keystone-container-puppet.yaml index 7c34ec8b31..b22c25d419 100644 --- a/deployment/keystone/keystone-container-puppet.yaml +++ b/deployment/keystone/keystone-container-puppet.yaml @@ -471,7 +471,6 @@ outputs: keystone::wsgi::apache::threads: 1 keystone::db::database_db_max_retries: -1 keystone::db::database_max_retries: -1 - keystone::public_endpoint: {get_param: [EndpointMap, KeystonePublic, uri_no_suffix]} # NOTE: bind IP is found in hiera replacing the network name with the # local node IP for the given network; replacement examples # (eg. for internal_api):