Description of problem: Routes where only added to the External and Tenant interface. Version-Release number of selected component (if applicable): How reproducible: Deploy overcloud using environments/net-multiple-nics.yaml Actual results: Routes are only added to the External and Tenant interface. Expected results: Routes should be added to all networks. Additional info: File: network/config/multiple-nics/role.role.j2.yaml ####### ### Condition to do below for non External|Tenant net. ####### {%- if network.name not in ["External", "Tenant"] %} {%- if network.name in role.networks %} - type: interface name: nic{{loop.index + 1}} use_dhcp: false addresses: - ip_netmask: get_param: {{network.name}}IpSubnet {%- endif %} ######## ## elif ... ######## {%- elif network.name in role.networks or role.name == 'Networker' or role.name == 'ComputeDVR' %} - type: ovs_bridge {%- if network.name == "External" %} name: bridge_name {%- else %} name: br-{{network.name_lower}} {%- endif %} use_dhcp: false {%- if network.name in role.networks %} addresses: - ip_netmask: get_param: {{network.name}}IpSubnet {%- endif %} ####### ### Routes added here ####### routes: list_concat_unique: - get_param: {{network.name}}InterfaceRoutes {%- if network.name in role.default_route_networks %} - - default: true next_hop: get_param: {{network.name}}InterfaceDefaultRoute {%- endif %} members: - type: interface name: nic{{loop.index + 1}} use_dhcp: false primary: true ####### ## endif ####### {%- endif %} The routes should be added in the first section prior to the 'elif' to ensure the other (non External|Internal) network interfaces get's the correct routes configured.
This is a sample template change only. I have verified that the fix has been made to the template.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0446