diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index 58c69288..99a4947e 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -162,16 +162,22 @@ AVAILABLE_REGIONS = [ ('{{ item.url }}', '{{ item.name }}'), {% endfor %} ] + +# This is not used because AVAILABLE_REGIONS is defined +#OPENSTACK_HOST = "{{ internal_lb_vip_address }}" +#OPENSTACK_KEYSTONE_URL = "{{ keystone_service_internalurl }}" {% else %} # For multiple regions uncomment this configuration, and add (endpoint, title). # AVAILABLE_REGIONS = [ # ('http://cluster1.example.com:5000/v2.0', 'cluster1'), # ('http://cluster2.example.com:5000/v2.0', 'cluster2'), # ] -{% endif %} +# This is only used if AVAILABLE_REGIONS is not defined OPENSTACK_HOST = "{{ internal_lb_vip_address }}" OPENSTACK_KEYSTONE_URL = "{{ keystone_service_internalurl }}" +{% endif %} + OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_" # Enables keystone web single-sign-on if set to True.