Comment 2 for bug 2013372

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to metal (master)

Reviewed: https://review.opendev.org/c/starlingx/metal/+/879068
Committed: https://opendev.org/starlingx/metal/commit/5bd181cdcfa770273112d411b412a9645035a54c
Submitter: "Zuul (22348)"
Branch: master

commit 5bd181cdcfa770273112d411b412a9645035a54c
Author: Kyle MacLeod <email address hidden>
Date: Thu Mar 30 13:21:40 2023 -0400

    miniboot: fix incorrect vlan interface applied for default route

    This commit fixes a but where the ip route add default is referencing
    the management device name instead of the interface name (containing
    vlan tag).

    The issue is only seen when the OAM network is on a VLAN and
    is a separate network (requires nexthop_gateway setting in
    install values).

    The fix is to apply the root on the vlan interface, not the top-level
    network device interface.

    Test Plan
    PASS:
    - Verify installation on system with OAM network on separate VLAN using
      nexthop_gateway
    - Verify installation on system with vlan but no nexthop_gateway

    Closes-Bug: 2013372
    Change-Id: Ic3febbd0cb77dd21435f23859e6d228e6ab95a8c
    Signed-off-by: Kyle MacLeod <email address hidden>