Browse Source

Merge "Check for InternalApi in role for HostnameResolveNetwork" into stable/train

changes/56/745256/2
Zuul 12 months ago
committed by Gerrit Code Review
parent
commit
71acbd5351
  1. 4
      network/service_net_map.j2.yaml

4
network/service_net_map.j2.yaml

@ -99,7 +99,11 @@ parameters:
{{role.name}}HostnameResolveNetwork: {{ _service_nets.get('storage', 'ctlplane') }}
{%- endfor %}
{%- for role in roles if not role.name.startswith('Ceph') %}
{%- if 'InternalApi' in role.networks %}
{{role.name}}HostnameResolveNetwork: {{ _service_nets.get('internal_api', 'ctlplane') }}
{%- else %}
{{role.name}}HostnameResolveNetwork: ctlplane
{%- endif %}
{%- endfor %}
# special-case for MetricsQdrNetwork, which will vary depending on role
{%- for role in roles if role.name == 'CephStorage' or role.name == 'BlockStorage' or role.name == 'ObjectStorage' %}

Loading…
Cancel
Save