Bug 2158394

Summary: Reactivate the connection cause ECMP route lose
Product: Red Hat Enterprise Linux 9 Reporter: Gris Ge <fge>
Component: NetworkManagerAssignee: Fernando F. Mancera <ferferna>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: bgalvani, ferferna, fpokryvk, lrintel, rkhan, sfaye, sukulkar, till, vbenes
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.41.90-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 08:17:59 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
NetworkManager trace log none

Description Gris Ge 2023-01-05 10:07:32 UTC
Created attachment 1935873 [details]
NetworkManager trace log

Created attachment 1935873 [details]
NetworkManager trace log

Description of problem:

For a connection with ECMP route, `nmcli c down` and then `nmcli c up` cause the ECMP route gone.


Version-Release number of selected component (if applicable):
NetworkManager-1.41.7-31566.copr.ae7e7bf3d3.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
nmcli c del dummy1 || true

nmcli c add type dummy \
    ifname dummy1 \
    connection.id dummy1 \
    ipv4.method manual \
    ipv4.address 192.0.2.5/24 \
    ipv4.routes "198.51.100.0/24 192.0.2.254 101 weight=1, \
                 198.51.100.0/24 192.0.2.253 101 weight=25"

sleep 1
ip route show dev dummy1

nmcli c down dummy1
nmcli c up dummy1
sleep 1
ip route show dev dummy1

Actual results:

No ipv4 ECMP routes

Expected results:

Still have direct ipv4 ECMP routes to 198.51.100.0/24

Additional info:

Reestarting NetworkManager cannot even solve this issue, you need to delete the interface or reboot(for interface cannot delete).

Comment 1 Gris Ge 2023-01-10 09:33:52 UTC
Correction:


Actual results:

No ipv4 ECMP routes

Expected results:

Still have direct ipv4 ECMP routes to 198.51.100.0/24

Comment 5 errata-xmlrpc 2023-05-09 08:17:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2485