Debian Networking: not applying IPv6 routes after unlock

Bug #1977558 reported by Andre Kantek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Andre Kantek

Bug Description

Brief Description

It was detected that after unlock, apply_network_config.sh is not setting the new routes created before the restart.

Severity

<Major: System/Feature is usable but degraded>

Steps to Reproduce

Create a route
system host-route-add 1 oam0 54:ff9b:: 64 fd00::1

Expected Behavior

After unlock route should be available when a user does "ip -6 route"

Actual Behavior

Route is not showing up

Reproducibility

Reproducible, State if the issue is 100% reproducible

System Configuration

AIO-Simplex in IPv6 configuration

Load info (eg: 2022-03-10_20-00-07)

BUILD_ID="2022-06-02_19-00-01"

Andre Kantek (akantek)
Changed in starlingx:
assignee: nobody → Andre Kantek (akantek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-puppet (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/stx-puppet/+/844641

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-puppet (master)

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/844641
Committed: https://opendev.org/starlingx/stx-puppet/commit/7a48143670fe71e182ab7f98f04437b651ea868f
Submitter: "Zuul (22348)"
Branch: master

commit 7a48143670fe71e182ab7f98f04437b651ea868f
Author: Andre Fernando Zanella Kantek <email address hidden>
Date: Fri Jun 3 16:58:24 2022 -0300

    Debian: only update routes after interfaces are configured

    In Debian it was detected a dependency to create interfaces before
    the creation of routes. This change sets this order for the Debian
    installations, and keeps the current order for CentOS.

    Detected that is all static routes are removed the file
    /var/run/network-scripts/routes is not generated, we need to
    remove all route in /etc/network/routes. This was not happening

    Also adding log messages if the route creation/delete fails.

    Test Plan
    PASS add routes with system host-route-add and unlock on Debian
    PASS del routes with system host-route-delete and unlock on Debian

    Closes-Bug: 1977558

    Signed-off-by: Andre Fernando Zanella Kantek <email address hidden>
    Change-Id: I72714349957c6a2241485907ea79f8b3e6fe6537

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.7.0 stx.debian stx.networking
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.