From 5a32609b04aa3df31a128c73cc052d41457db390 Mon Sep 17 00:00:00 2001
From: Takashi Kajinami
Date: Tue, 15 Jul 2025 00:22:18 +0900
Subject: [PATCH] Add www_authenticate_uri
... to suppress the following warning from keystonemiddleware.
Configuring www_authenticate_uri to point to the public identity
endpoint is required; clients may not be able to authenticate against
an admin endpoint
Change-Id: I3f1a6b2c5d2e7d3dce6fd1ee6694f8146ae06437
Signed-off-by: Takashi Kajinami
---
lib/keystone | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/keystone b/lib/keystone
index 4a2d7a9f6c..7e7cd2526b 100644
--- a/lib/keystone
+++ b/lib/keystone
@@ -453,6 +453,7 @@ function configure_keystone_authtoken_middleware {
local service_type=$4
configure_keystoneauth $conf_file $admin_user $section
+ iniset $conf_file $section www_authenticate_uri $KEYSTONE_SERVICE_URI
iniset $conf_file $section cafile $SSL_BUNDLE_FILE
iniset $conf_file $section memcached_servers $MEMCACHE_SERVERS
if [[ -n "$service_type" ]]; then