Skip to content

Commit d5fe6a3

Browse files
committed
horizon: move horizon_enable_tls_backend to group_vars
This variable is referenced by horizon_listen_port, which becomes undefined outside of the horizon role. One symptom of this is that the hostvars variable becomes undefined when referenced for debugging purposes. This issue was introduced by Ibb5ad1a5d1bbc74bcb62610d77852d8124c4a323, which has been backported to Victoria. This change fixes the issue by moving horizon_enable_tls_backend to group_vars. TrivialFix Change-Id: I1fc4e2a24fe096a49434d7e16851e63efd25d74c (cherry picked from commit 4c6d777)
1 parent f14caa1 commit d5fe6a3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

ansible/group_vars/all.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,8 @@ enable_keystone_horizon_policy_file: "{{ enable_keystone }}"
10411041
enable_neutron_horizon_policy_file: "{{ enable_neutron }}"
10421042
enable_nova_horizon_policy_file: "{{ enable_nova }}"
10431043

1044+
horizon_enable_tls_backend: "{{ kolla_enable_tls_backend }}"
1045+
10441046
horizon_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ horizon_tls_port if kolla_enable_tls_internal | bool else horizon_port }}"
10451047

10461048
#################

ansible/roles/horizon/defaults/main.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,3 @@ horizon_dev_mode: "{{ kolla_dev_mode }}"
147147
horizon_murano_dev_mode: "{{ kolla_dev_mode }}"
148148
horizon_source_version: "{{ kolla_source_version }}"
149149
horizon_murano_source_version: "{{ kolla_source_version }}"
150-
151-
####################
152-
# TLS
153-
####################
154-
horizon_enable_tls_backend: "{{ kolla_enable_tls_backend }}"

0 commit comments

Comments
 (0)