multiple-nic sample template only add routes to External and Tenant interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Harald Jensås |
Bug Description
Routes where only added to the External and Tenant interface.
File: network/
#######
### Condition to do below for non External|Tenant net.
#######
{%- if network.name not in ["External", "Tenant"] %}
{%- if network.name in role.networks %}
- type: interface
- ip_netmask:
{%- endif %}
########
## elif ...
########
{%- elif network.name in role.networks or role.name == 'Networker' or role.name == 'ComputeDVR' %}
- type: ovs_bridge
{%- if network.name == "External" %}
{%- else %}
{%- endif %}
{%- if network.name in role.networks %}
- ip_netmask:
{%- endif %}
#######
### Routes added here
#######
{%- if network.name in role.default_
{%- endif %}
- type: interface
#######
## 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.
Changed in tripleo: | |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
Fix proposed: https:/ /review. openstack. org/613683