From e2ef8afb990696a5ff4efefc357b504b92719b4e Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 8 May 2020 14:54:41 +0100 Subject: [PATCH] update WSGI multidomain values When activating multidomain support, the following error was observed: ValueError: not enough values to unpack (expected 2, got 1) This change allows for the WSGI file to correctly read the boolean dropdown and list of tuples in domain choices. Change-Id: I195ac2089baf3ba76c2201cc8b7e6abef1be4b54 --- templates/horizon_local_settings.py.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index 328a5355..674d68f2 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -89,8 +89,8 @@ OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = {{ horizon_keystone_multidomain_support # with Keystone V3. All entities will be created in the default domain. OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "{{ horizon_keystone_default_domain }}" {% else %} -OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN = "{{ horizon_keystone_multidomain_dropdown | bool }}" -OPENSTACK_KEYSTONE_DOMAIN_CHOICES = "{{ horizon_keystone_multidomain_choices }}" +OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN = {{ horizon_keystone_multidomain_dropdown | bool }} +OPENSTACK_KEYSTONE_DOMAIN_CHOICES = {{ horizon_keystone_multidomain_choices }} {% endif %} {% endif %}