Merge "DCN/Edge: Handle ipv6 address for local glance endpoint" into stable/train
This commit is contained in:
commit
6c5658ad25
|
@ -57,7 +57,7 @@ outputs:
|
|||
value: &glance_api_edge_uri
|
||||
str_replace:
|
||||
template:
|
||||
"PROTOCOL://%{hiera('NETWORK')}:9292"
|
||||
"PROTOCOL://%{hiera('NETWORK_uri')}:9292"
|
||||
params:
|
||||
PROTOCOL:
|
||||
if:
|
||||
|
|
|
@ -58,6 +58,20 @@ resources:
|
|||
|
||||
outputs:
|
||||
|
||||
glance_api_edge_uri:
|
||||
description: URI of the glance-api service runing at the edge site.
|
||||
value: &glance_api_edge_uri
|
||||
str_replace:
|
||||
template:
|
||||
"PROTOCOL://%{hiera('NETWORK_uri')}:9292"
|
||||
params:
|
||||
PROTOCOL:
|
||||
if:
|
||||
- internal_tls_enabled
|
||||
- https
|
||||
- http
|
||||
NETWORK: {get_param: [ServiceNetMap, GlanceApiEdgeNetwork]}
|
||||
|
||||
role_data:
|
||||
description: Role data for the HAproxy role for DCN/Edge.
|
||||
value:
|
||||
|
@ -121,3 +135,13 @@ outputs:
|
|||
tripleo::haproxy::ui: false
|
||||
tripleo::haproxy::zaqar_api: false
|
||||
tripleo::haproxy::zaqar_ws: false
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- get_attr: [HAProxyBase, role_data, service_config_settings]
|
||||
- if:
|
||||
- glance_api_proxy_enabled
|
||||
- cinder_volume:
|
||||
cinder::glance::glance_api_servers: *glance_api_edge_uri
|
||||
nova_compute:
|
||||
nova::glance_api_servers: *glance_api_edge_uri
|
||||
- {}
|
||||
|
|
Loading…
Reference in New Issue