Fix keystone configuration for haproxy.
* Use proper balancing mode when federation is enabled. Closes-Bug: #2058656 Change-Id: Ia81a6efc38ec2bdc1355d058c03568cf740fdac5
This commit is contained in:
parent
86873f4ccd
commit
33d03a4267
@ -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"
|
||||
|
5
releasenotes/notes/bug-2058656-ad68bb260327a267.yaml
Normal file
5
releasenotes/notes/bug-2058656-ad68bb260327a267.yaml
Normal 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>`__
|
Loading…
Reference in New Issue
Block a user