Description of problem: Generated by Tripleo tools/process-templates.py /home/stack/openstack-tripleo-heat-templates-rendered-central/environments/network-environment-v6.yaml doesn't contain parameter TenantInterfaceDefaultRoute. Version-Release number of selected component (if applicable): openstack-tripleo-puppet-elements-11.2.2-0.20200128210949.d668f88.el8ost.noarch python3-tripleoclient-12.3.2-0.20200130192329.78ac810.el8ost.noarch python3-tripleo-common-11.3.3-0.20200206225551.18d4fbc.el8ost.noarch openstack-tripleo-common-11.3.3-0.20200206225551.18d4fbc.el8ost.noarch puppet-tripleo-11.4.1-0.20200205150840.71ff36d.el8ost.noarch openstack-tripleo-image-elements-10.6.1-0.20191022065313.7338463.el8ost.noarch openstack-tripleo-validations-11.3.2-0.20200206065550.1a9b92a.el8ost.noarch openstack-tripleo-heat-templates-11.3.2-0.20200211065544.d3d6dc3.el8ost.noarch ansible-tripleo-ipsec-9.2.0-0.20191022054642.ffe104c.el8ost.noarch tripleo-ansible-0.4.2-0.20200207140442.b750574.el8ost.noarch python3-tripleoclient-heat-installer-12.3.2-0.20200130192329.78ac810.el8ost.noarch ansible-role-tripleo-modify-image-1.1.1-0.20200122200932.58d7a5b.el8ost.noarch openstack-tripleo-common-containers-11.3.3-0.20200206225551.18d4fbc.el8ost.noarch How reproducible: $ cd /usr/share/openstack-tripleo-heat-templates $ ./tools/process-templates.py -o ~/openstack-tripleo-heat-templates-rendered-central -n /home/stack/central/network/network_data.yaml -r /home/stack/central/roles/roles_data.yaml Steps to Reproduce: 1. 2. 3. Actual results: # Customize the IP range to use for static IPs and VIPs TenantAllocationPools: [{'start': '172.19.1.4', 'end': '172.19.1.250'}] # Customize the VLAN ID to match the local environment TenantNetworkVlanID: 1189 # MTU of the underlying physical network. Neutron uses this value to # calculate MTU for all virtual network components. For flat and VLAN # networks, neutron uses this value without modification. For overlay # networks such as VXLAN, neutron automatically subtracts the overlay # protocol overhead from this value. TenantNetPhysnetMtu: 1500 TenantSubnetCidr_tenant_leaf1: 172.19.2.0/24 TenantAllocationPools_tenant_leaf1: [{'start': '172.19.2.4', 'end': '172.19.2.250'}] TenantInterfaceDefaultRoute_tenant_leaf1: 172.19.2.254 TenantNetworkVlanID_tenant_leaf1: 1179 TenantSubnetCidr_tenant_leaf2: 172.19.3.0/24 TenantAllocationPools_tenant_leaf2: [{'start': '172.19.3.4', 'end': '172.19.3.250'}] TenantInterfaceDefaultRoute_tenant_leaf2: 172.19.3.254 TenantNetworkVlanID_tenant_leaf2: 1169 Expected results: # Customize the IP range to use for static IPs and VIPs TenantAllocationPools: [{'start': '172.19.1.4', 'end': '172.19.1.250'}] TenantInterfaceDefaultRoute: 172.19.1.254 # Customize the VLAN ID to match the local environment TenantNetworkVlanID: 1189 # MTU of the underlying physical network. Neutron uses this value to # calculate MTU for all virtual network components. For flat and VLAN # networks, neutron uses this value without modification. For overlay # networks such as VXLAN, neutron automatically subtracts the overlay # protocol overhead from this value. TenantNetPhysnetMtu: 1500 TenantSubnetCidr_tenant_leaf1: 172.19.2.0/24 TenantAllocationPools_tenant_leaf1: [{'start': '172.19.2.4', 'end': '172.19.2.250'}] TenantInterfaceDefaultRoute_tenant_leaf1: 172.19.2.254 TenantNetworkVlanID_tenant_leaf1: 1179 TenantSubnetCidr_tenant_leaf2: 172.19.3.0/24 TenantAllocationPools_tenant_leaf2: [{'start': '172.19.3.4', 'end': '172.19.3.250'}] TenantInterfaceDefaultRoute_tenant_leaf2: 172.19.3.254 TenantNetworkVlanID_tenant_leaf2: 1169 Additional info:
Created attachment 1667586 [details] network-environment-v6.yaml
Created attachment 1667587 [details] network_data.yaml
Created attachment 1667588 [details] roles_data.yaml
The header of the file says the file is deprecated, and is only there for backward compatibility. # NOTE: This file is deprecated, and is included for backwards-compatibility # for use in upgrades. For new deployments, set ipv6: true for isolated # networks using IPv6 (Tenant network should use IPv4 for tunneling), # and set the default_route_networks to "['ControlPlane', 'External']" # on the Controller role to use ControlPlane for IPv4 and External for IPv6 # default routes, and include network-environment.yaml instead of this file. I opened a bug upstream and proposed a fix[1], please test it. But, this environment file should not be used in this setup. The network-environment-v6.j2.yaml file was deprecated in queens cycle. [1] https://review.opendev.org/712789
Verified that TenantInterfaceDefaultRoute is now being added to network-environment-v6.yaml when gateway_ipv6 is set. Again this file has been deprecated and shouldn't be used.
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-2020:2114