Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1338750

Summary: After system boot NetworkManager doesn't create all static routes
Product: Red Hat Enterprise Linux 7 Reporter: Rastislav Hepner <rhepner>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: aloughla, atragler, bgalvani, lrintel, mleitner, rkhan, thaller
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-06 08:51:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
customers configuration none

Description Rastislav Hepner 2016-05-23 11:40:10 UTC
Created attachment 1160545 [details]
customers configuration

Description of problem: 
Customer using legacy route* files for specifying static routes. After system boots up NetworkManager doesn't put all static routes into routing tables even though NetworkManager-config-routing-rules is installed. Across system reboots  amount of static routes which are put into routing table changes. 
Customer using 2 bonds above which are 3 vlan interfaces. Ip configuration is on vlan interfaces. 

Version-Release number of selected component (if applicable):
# uname -r
3.10.0-327.18.2.el7.x86_64

NetworkManager-wwan-1.0.6-29.el7_2.x86_64
NetworkManager-wifi-1.0.6-29.el7_2.x86_64
NetworkManager-glib-1.0.6-29.el7_2.x86_64
NetworkManager-1.0.6-29.el7_2.x86_64
NetworkManager-team-1.0.6-29.el7_2.x86_64
NetworkManager-libnm-1.0.6-29.el7_2.x86_64
NetworkManager-tui-1.0.6-29.el7_2.x86_64
NetworkManager-config-server-1.0.6-29.el7_2.x86_64
NetworkManager-config-routing-rules-1.0.6-29.el7_2.x86_64
NetworkManager-bluetooth-1.0.6-29.el7_2.x86_64
NetworkManager-adsl-1.0.6-29.el7_2.x86_64
initscripts-9.49.30-1.el7_2.2.x86_64
systemd-219-19.el7_2.9.x86_64
systemd-219-19.el7_2.9.x86_64

I was able to reproduce the bahaviour with above mentioned versions. But acc. to customer claims it should be reproducible also on 7.2 GA.

How reproducible:
Using customers configuration which I've attached to the case is Always reproducible.

Steps to Reproduce:
1. Setup 4 physical interfaces 2 bonds (3 vlans over bonds) + 1 alias interface
2. Interfaces must be handled by NetworkManager 
3. Create sample static routes in route* files using all of the 3 vlan interfaces
4. Reboot server

Actual results:
Across reboots the amount of routes which are put into routing table differs. 
Never happened to me that all static routes were added to routing table correctly. 


Expected results:
all static routes are added to routing table and it doesn't change across reboots.


Additional info:

Comment 2 Aniss Loughlam 2016-05-23 23:30:09 UTC
(In reply to Rastislav Hepner from comment #0)
> Created attachment 1160545 [details]
> customers configuration
> 
> Description of problem: 
> Customer using legacy route* files for specifying static routes. After
> system boots up NetworkManager doesn't put all static routes into routing
> tables even though NetworkManager-config-routing-rules is installed. Across
> system reboots  amount of static routes which are put into routing table
> changes. 
> Customer using 2 bonds above which are 3 vlan interfaces. Ip configuration
> is on vlan interfaces. 
> 
> Version-Release number of selected component (if applicable):
> # uname -r
> 3.10.0-327.18.2.el7.x86_64
> 
> NetworkManager-wwan-1.0.6-29.el7_2.x86_64
> NetworkManager-wifi-1.0.6-29.el7_2.x86_64
> NetworkManager-glib-1.0.6-29.el7_2.x86_64
> NetworkManager-1.0.6-29.el7_2.x86_64
> NetworkManager-team-1.0.6-29.el7_2.x86_64
> NetworkManager-libnm-1.0.6-29.el7_2.x86_64
> NetworkManager-tui-1.0.6-29.el7_2.x86_64
> NetworkManager-config-server-1.0.6-29.el7_2.x86_64
> NetworkManager-config-routing-rules-1.0.6-29.el7_2.x86_64
> NetworkManager-bluetooth-1.0.6-29.el7_2.x86_64
> NetworkManager-adsl-1.0.6-29.el7_2.x86_64
> initscripts-9.49.30-1.el7_2.2.x86_64
> systemd-219-19.el7_2.9.x86_64
> systemd-219-19.el7_2.9.x86_64
> 
> I was able to reproduce the bahaviour with above mentioned versions. But
> acc. to customer claims it should be reproducible also on 7.2 GA.
> 
> How reproducible:
> Using customers configuration which I've attached to the case is Always
> reproducible.
> 
> Steps to Reproduce:
> 1. Setup 4 physical interfaces 2 bonds (3 vlans over bonds) + 1 alias
> interface
> 2. Interfaces must be handled by NetworkManager 
> 3. Create sample static routes in route* files using all of the 3 vlan
> interfaces
> 4. Reboot server
> 
> Actual results:
> Across reboots the amount of routes which are put into routing table
> differs. 
> Never happened to me that all static routes were added to routing table
> correctly. 
> 
> 
> Expected results:
> all static routes are added to routing table and it doesn't change across
> reboots.
> 
> 
> Additional info:

Can you provide the commands or script you use to create this setup? I would like to reproduce it on my hw

Comment 4 Beniamino Galvani 2016-06-01 11:58:15 UTC
(In reply to Rastislav Hepner from comment #0)

> Customer using legacy route* files for specifying static routes. After
> system boots up NetworkManager doesn't put all static routes into routing
> tables even though NetworkManager-config-routing-rules is installed.

Please note that NetworkManager-config-routing-rules is only necessary for
"/etc/sysconfig/network-scripts/rule-NAME" files (eg, to do policy-based routing).

> Across
> system reboots  amount of static routes which are put into routing table
> changes. 
> Customer using 2 bonds above which are 3 vlan interfaces. Ip configuration
> is on vlan interfaces. 

> NetworkManager-1.0.6-29.el7_2.x86_64

I can easily reproduce the issue with NM 1.0.6-29.el7_2.x86_64 and the attached
configuration files.

Instead, the problem does not happen with NetworkManager-1.2.0-1.el7 (the latest
RHEL 7.3 package). I rebooted 10 times and all routes were always created.

Comment 5 Rastislav Hepner 2016-06-07 12:43:08 UTC
Hello Beniamino,

I understand 7.3 will not be available for some time. Can we get this fixed in RHEL 7.2?

Ras

Comment 10 Beniamino Galvani 2016-07-06 08:51:07 UTC

*** This bug has been marked as a duplicate of bug 1343609 ***