network-environment-v6.j2.yaml - Misses InterfaceDefaultRoute for Tenant network

Bug #1867207 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Harald Jensås

Bug Description

With the following Tenant network example in network_data.yaml, the 'TenantInterfaceDefaultRoute' is not rendered.

# Tenant
- name: Tenant
  name_lower: tenant
  vip: false # Tenant network does not use VIPs
  vlan: 1189
  ip_subnet: '172.19.1.0/24'
  allocation_pools: [{'start': '172.19.1.4', 'end': '172.19.1.250'}]
  gateway_ip: '172.19.1.254'
  subnets:
    tenant_leaf1:
      vlan: 1179
      ip_subnet: '172.19.2.0/24'
      allocation_pools: [{'start': '172.19.2.4', 'end': '172.19.2.250'}]
      gateway_ip: '172.19.2.254'
    tenant_leaf2:
      vlan: 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

Actual results:
  # Customize the IP range to use for static IPs and VIPs
  TenantAllocationPools: [{'start': '172.19.1.4', 'end': '172.19.1.250'}]

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/712789

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/712789
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=26e4a0ab59e31757bc3683da14d8ccf5dcc90594
Submitter: Zuul
Branch: master

commit 26e4a0ab59e31757bc3683da14d8ccf5dcc90594
Author: Harald Jensås <email address hidden>
Date: Thu Mar 12 21:22:46 2020 +0100

    Fix TenantInterfaceDefaultRoute in net-env-v6

    The TenantInterfaceDefaultRoute in network-environment-v6.j2.yaml
    should use the ipv4 gateway address.

    Closes-Bug: #1867207
    Change-Id: If011da577adec7d95e0caf8f1c9c6cb88581cae1

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/712993

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/712993
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d69ec8a5c37216e33d2ce1a0f2a61fd6fc618180
Submitter: Zuul
Branch: stable/train

commit d69ec8a5c37216e33d2ce1a0f2a61fd6fc618180
Author: Harald Jensås <email address hidden>
Date: Thu Mar 12 21:22:46 2020 +0100

    Fix TenantInterfaceDefaultRoute in net-env-v6

    The TenantInterfaceDefaultRoute in network-environment-v6.j2.yaml
    should use the ipv4 gateway address.

    Closes-Bug: #1867207
    Change-Id: If011da577adec7d95e0caf8f1c9c6cb88581cae1
    (cherry picked from commit 26e4a0ab59e31757bc3683da14d8ccf5dcc90594)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.2.0

This issue was fixed in the openstack/tripleo-heat-templates 12.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.