Debian Networking: Package ifupdow and networking-routes are using distinct format (prefix-len or netmask) to create routes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Andre Kantek |
Bug Description
Brief Description
-----------------
It was detected a discrepancy between the format used on the scripts
/etc/network/
requires routes with netmask (because is using the old "route" command)
/etc/init.
is using prefix-len (using the new "ip route" command)
This is causing failure to create IPv6 routes as the script 20static-routes is having error to execute the route command:
root@controller
getaddrinfo: #net: -2
#net: Resolver Error 0 (no error)
And the script networking-routes also fail because it uses prefix-len and the routes file contains netmask
Severity
--------
<Major: System/Feature is usable but degraded>
Steps to Reproduce
------------------
Add IPv6 static routes with
system host-if-modify 1 enp0s9 -n test1 -c data --ipv6-mode static
system host-addr-add 1 test1 dead:beef::1 64
system host-route-add 1 test1 dead:aaaa::0 64 dead:beef::254
system host-route-add 1 test1 dead:bbbb::0 64 dead:beef::254
system host-route-add 1 test1 dead:cccc::0 64 dead:beef::254
Expected Behavior
------------------
routes are created after lock/unlock
Actual Behavior
----------------
Routes are not present
Reproducibility
---------------
Reproducible
System Configuration
-------
One node system, IPv6
Changed in starlingx: | |
assignee: | nobody → Andre Kantek (akantek) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.debian stx.networking |
Fix proposed to branch: master /review. opendev. org/c/starlingx /stx-puppet/ +/842613
Review: https:/