Adds IP to external network NIC on computes 51/59651/1
authorTim Rozet <trozet@redhat.com>
Tue, 10 Jul 2018 14:10:56 +0000 (10:10 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 10 Jul 2018 14:10:56 +0000 (10:10 -0400)
Deployments now fail in baremetal because the external NTP server cannot
be reached because there is no IP on the extenal interfaces for
computes.

Change-Id: Ic1e67072b81bb7ca4e15930840dc77d27913737f
Signed-off-by: Tim Rozet <trozet@redhat.com>
build/nics-template.yaml.jinja2

index 959a392..073d668 100644 (file)
@@ -242,7 +242,6 @@ resources:
                     name: {{ nets['external'][0]['nic_mapping'][role]['members'][0] }}
                     # force the MAC address of the bridge to this interface
                     primary: true
-                {%- if role == 'controller' %}
                 dns_servers: {get_param: DnsServers}
                 addresses:
                   -
@@ -252,7 +251,6 @@ resources:
                     default: true
                     ip_netmask: 0.0.0.0/0
                     next_hop: {get_param: ExternalInterfaceDefaultRoute}
-                {%- endif %}
               {%- endif %}
               {%- if nets['storage']['enabled'] and nets['storage']['nic_mapping'][role]['vlan'] == 'native' %}
               -