From 6563191de81457ec04eaa44e3d9a639c4dacbe76 Mon Sep 17 00:00:00 2001 From: Kevin Rasmussen Date: Fri, 6 May 2022 15:31:45 -0700 Subject: [PATCH] Fix malformed OIDCMemCacheServers Change from comma separated list of memcache servers to space separated list. Comma seperated list results in a 500 error response. Upstream docs state this should be space separated and can be found here: https://github.com/zmartzone/mod_auth_openidc/blob/master/auth_openidc.conf#L629-L631 Closes-Bug: #1972033 Change-Id: Ibaef3672c656213dd5ba1488379d686130e041c5 --- ansible/roles/keystone/templates/wsgi-keystone.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 b/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 index 9a40f68533..017ce78d64 100644 --- a/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 +++ b/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 @@ -66,7 +66,7 @@ LogLevel info OIDCRedirectURI {{ keystone_public_url }}/redirect_uri {% if enable_memcached | bool and keystone_oidc_enable_memcached | bool %} OIDCCacheType memcache - OIDCMemCacheServers "{% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}" + OIDCMemCacheServers "{% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %} {% endif %}{% endfor %}" {% endif %}