Set TripleoUI bind_host via ServiceNetMap

Change-Id: Ic1933119e1cac49bbb633e0335ac011fa3393f5d
This commit is contained in:
Dan Prince 2018-03-14 09:42:58 -04:00 committed by Emilien Macchi
parent 88daf0d5da
commit 2c1f866bf2
2 changed files with 7 additions and 4 deletions

View File

@ -77,6 +77,7 @@ parameters:
ZaqarApiNetwork: internal_api
DockerRegistryNetwork: ctlplane
PacemakerRemoteNetwork: internal_api
TripleoUINetwork: internal_api
# We special-case the default ResolveNetwork for the CephStorage role
# for backwards compatibility, all other roles default to internal_api
CephStorageHostnameResolveNetwork: storage

View File

@ -80,10 +80,12 @@ outputs:
tripleo::ui::endpoint_config_mistral: {get_param: [EndpointMap, MistralUIConfig, uri]}
tripleo::ui::endpoint_config_nova: {get_param: [EndpointMap, NovaUIConfig, uri]}
tripleo::ui::endpoint_config_swift: {get_param: [EndpointMap, SwiftUIConfig, uri]}
# FIXME(mandre) we're required to set bind_host otherwise it
# complains that it can't find the controller_host hiera key
tripleo::ui::bind_host: "127.0.0.1"
tripleo::ui::bind_host:
str_replace:
template:
"%{hiera('$NETWORK')}"
params:
$NETWORK: {get_param: [ServiceNetMap, TripleoUINetwork]}
step_config: |
include ::tripleo::ui
service_config_settings: {}