Merge "Fix keystone configuration for haproxy."

This commit is contained in:
Zuul 2024-07-24 18:00:37 +00:00 committed by Gerrit Code Review
commit d590f461aa
2 changed files with 9 additions and 2 deletions

View File

@ -16,7 +16,8 @@ keystone_services:
tls_backend: "{{ keystone_enable_tls_backend }}"
port: "{{ keystone_internal_port }}"
listen_port: "{{ keystone_internal_listen_port }}"
backend_http_extra: "{{ ['balance source'] if enable_keystone_federation | bool else [] }}"
backend_http_extra:
- balance "{{ 'source' if enable_keystone_federation | bool else 'roundrobin' }}"
keystone_external:
enabled: "{{ enable_keystone }}"
mode: "http"
@ -25,7 +26,8 @@ keystone_services:
tls_backend: "{{ keystone_enable_tls_backend }}"
port: "{{ keystone_public_port }}"
listen_port: "{{ keystone_public_listen_port }}"
backend_http_extra: "{{ ['balance source'] if enable_keystone_federation | bool else [] }}"
backend_http_extra:
- balance "{{ 'source' if enable_keystone_federation | bool else 'roundrobin' }}"
keystone-ssh:
container_name: "keystone_ssh"
group: "keystone"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes keystone service configuration for haproxy when using federation.
`LP#2058656 <https://bugs.launchpad.net/kolla-ansible/+bug/2058656>`__