Skip to content

Commit aedd621

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "fix: use FQDN for horizon endpoints" into stable/2025.1
2 parents d63160a + fc53b26 commit aedd621

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ansible/group_vars/all.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,9 @@ heat_api_cfn_public_port: "{{ haproxy_single_external_frontend_public_port if ha
465465

466466
horizon_internal_fqdn: "{{ kolla_internal_fqdn }}"
467467
horizon_external_fqdn: "{{ kolla_external_fqdn }}"
468-
horizon_internal_endpoint: "{{ kolla_internal_fqdn | kolla_url(internal_protocol, horizon_tls_port if kolla_enable_tls_internal | bool else horizon_port) }}"
469-
horizon_public_endpoint: "{{ kolla_external_fqdn | kolla_url(public_protocol, horizon_tls_port if kolla_enable_tls_external | bool else horizon_port) }}"
468+
horizon_internal_endpoint: "{{ horizon_internal_fqdn | kolla_url(internal_protocol, horizon_tls_port if kolla_enable_tls_internal | bool else horizon_port) }}"
469+
horizon_public_endpoint: "{{ horizon_external_fqdn | kolla_url(public_protocol, horizon_tls_port if kolla_enable_tls_external | bool else horizon_port) }}"
470+
470471
horizon_port: "80"
471472
horizon_tls_port: "443"
472473
horizon_listen_port: "{{ horizon_tls_port if horizon_enable_tls_backend | bool else horizon_port }}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue where CORS can be blocked when attempting
5+
to upload an image via the Horizon user interface.

0 commit comments

Comments
 (0)