Set the default ENDPOINT TYPE to internalURL for Horizon
Default is publicURL which will fail if internal server doesn't have access via the firewall. All this value to be overridden via the "horizon" service vars. Fixes #57
This commit is contained in:
parent
8f7be6fe0c
commit
f6a8bcc284
@ -26,6 +26,8 @@
|
||||
- openstack_common
|
||||
- openstack_openrc
|
||||
- horizon_common
|
||||
vars_files:
|
||||
- vars/openstack_service_vars/horizon.yml
|
||||
|
||||
- hosts: horizon_all[0]
|
||||
user: root
|
||||
|
@ -223,7 +223,7 @@ IMAGE_CUSTOM_PROPERTY_TITLES = {
|
||||
# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
|
||||
# in the Keystone service catalog. Use this setting when Horizon is running
|
||||
# external to the OpenStack environment. The default is 'publicURL'.
|
||||
#OPENSTACK_ENDPOINT_TYPE = "publicURL"
|
||||
OPENSTACK_ENDPOINT_TYPE = " {{ horizon_endpoint_type }} "
|
||||
|
||||
# SECONDARY_ENDPOINT_TYPE specifies the fallback endpoint type to use in the
|
||||
# case that OPENSTACK_ENDPOINT_TYPE is not present in the endpoints
|
||||
|
19
rpc_deployment/vars/openstack_service_vars/horizon.yml
Normal file
19
rpc_deployment/vars/openstack_service_vars/horizon.yml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
# Copyright 2014, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# The variables file used by the playbooks in the nova-api-ec2 group.
|
||||
# These don't have to be explicitly imported by vars_files: they are autopopulated.
|
||||
|
||||
horizon_endpoint_type: internalURL
|
Loading…
Reference in New Issue
Block a user