THT - nic-config templates - default for %network%InterfaceDefaultRoute always the base subnets gateway

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

Bug Description

The default for the %network%InterfaceDefaultRoute parameter will always use the base subnets gateway address:

https://github.com/openstack/tripleo-heat-templates/blob/941cf073c74cd77eb24b9c6fbc108dc2021e9ddb/network/config/single-nic-vlans/role.role.j2.yaml#L60-L70

This should be the gateway specific to the roles subnet.

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.openstack.org/645039

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.openstack.org/645039
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ce9a83c8cd95cdc8cebce46eb69f37ba1235d14d
Submitter: Zuul
Branch: master

commit ce9a83c8cd95cdc8cebce46eb69f37ba1235d14d
Author: Harald Jensås <email address hidden>
Date: Wed Mar 20 23:32:23 2019 +0100

    Use get_attr to set %network%InterfaceDefaultRoute

    For networks in role.default_route_networks use get_attr
    to fetch the gateway_ip of the port's subnet and pass
    it to the nic-config template.

    Changes the default in nic-config templates to ''.

    Closes-Bug: #1821046
    Change-Id: Ic07a3166fafba3aa307a9e1953b3e3be2594a6f5

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

This issue was fixed in the openstack/tripleo-heat-templates 10.5.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.