diff options
| author | Jack Hodgkiss <jack@stackhpc.com> | 2025-10-14 21:29:40 +0100 |
|---|---|---|
| committer | Jack Hodgkiss <jack@stackhpc.com> | 2025-10-15 12:29:18 +0100 |
| commit | 13c40f141be8b456f887f13f6adbc05eba9c6497 (patch) | |
| tree | e8210daed222de073cf053d8abbd107be51d8ff5 /ansible/group_vars | |
| parent | c087c246944ba35d1836272a89a649d95d968b7b (diff) | |
| download | kolla-ansible-13c40f141be8b456f887f13f6adbc05eba9c6497.tar.gz kolla-ansible-13c40f141be8b456f887f13f6adbc05eba9c6497.zip | |
fix: use `FQDN` for `horizon` endpoints
The `public` and `internal` endpoints for `Horizon` have been set
explicitly to `kolla_external_fqdn` and `kolla_internal_fqdn` this
setup does not work if using `HAProxy` single frontend configuration and
can lead to `CORS` blocked when attempting to upload images via the
`Horizon` dashboard. This change brings `Horizon` configuration inline
with other services.
Closes-Bug: 2111125
Change-Id: I3a8f40a06d64ac5ebd321c4da7fe577c1c4c380a
Signed-off-by: Jack Hodgkiss <jack@stackhpc.com>
Diffstat (limited to 'ansible/group_vars')
| -rw-r--r-- | ansible/group_vars/all/horizon.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/group_vars/all/horizon.yml b/ansible/group_vars/all/horizon.yml index fac7a27a4..fcab934b2 100644 --- a/ansible/group_vars/all/horizon.yml +++ b/ansible/group_vars/all/horizon.yml @@ -42,8 +42,8 @@ horizon_enable_tls_backend: "{{ kolla_enable_tls_backend }}" # Ports horizon_internal_fqdn: "{{ kolla_internal_fqdn }}" horizon_external_fqdn: "{{ kolla_external_fqdn }}" -horizon_internal_endpoint: "{{ kolla_internal_fqdn | kolla_url(internal_protocol, horizon_tls_port if kolla_enable_tls_internal | bool else horizon_port) }}" -horizon_public_endpoint: "{{ kolla_external_fqdn | kolla_url(public_protocol, horizon_tls_port if kolla_enable_tls_external | bool else horizon_port) }}" +horizon_internal_endpoint: "{{ horizon_internal_fqdn | kolla_url(internal_protocol, horizon_tls_port if kolla_enable_tls_internal | bool else horizon_port) }}" +horizon_public_endpoint: "{{ horizon_external_fqdn | kolla_url(public_protocol, horizon_tls_port if kolla_enable_tls_external | bool else horizon_port) }}" horizon_port: "80" horizon_tls_port: "443" horizon_listen_port: "{{ '8080' if enable_haproxy | bool else horizon_tls_port if horizon_enable_tls_backend | bool else horizon_port }}" |
