kolla-ansible/releasenotes/notes/bug-1957117-7832104d66a91da7.yaml
Buddhika Sanjeewa d8c73aa206 Access to zun container fails when tls_external enabled.
Access to console of any zun container fails when
kolla_enable_tls_external is true.
This is due to the protocol of the base_url of the websocket_proxy
section in zun.conf is hardcoded to 'ws'.
[base_url = ws://<external_fqdn>:<port>]

This fix adds a new variable zun_wsproxy_protocol
and sets it's value to 'wss' when kolla_enable_tls_external is true
or to 'ws' otherwise

Then the base url's protocol of the websocket_proxy section
in zun.conf is set by zun_wsproxy_protocol
[base_url = "{{ zun_wsproxy_protocol }}://<external_fqdn>:<port>"]

Closes-Bug: 1957117
Change-Id: Ibd9ca6e40ee8c265775b0657d318aa3f82e4cccb
2022-01-12 13:30:41 +00:00

12 lines
397 B
YAML

---
fixes:
- |
Fixes unable to connect to zun console when
``kolla_enable_tls_external`` is true.
Access to console of any zun container fails when
``kolla_enable_tls_external`` is true.
This fix sets the protocol for wsproxy ``base_url``
in ``zun.conf`` according to the value of
``kolla_enable_tls_external``
`LP#1957117 <https://launchpad.net/bugs/1957117>`__