Bug 2196441 - NetworkManager brings down connection when the IPv6 link-local address is removed
Summary: NetworkManager brings down connection when the IPv6 link-local address is rem...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.3
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Vladimir Benes
URL:
Whiteboard:
Depends On:
Blocks: 2209353 2209359 2209360
TreeView+ depends on / blocked
 
Reported: 2023-05-09 07:22 UTC by Beniamino Galvani
Modified: 2023-07-18 07:13 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.43.8-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2209353 2209359 2209360 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Reproducer script (974 bytes, application/x-shellscript)
2023-05-16 15:52 UTC, Beniamino Galvani
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-534 0 None None None 2023-05-09 14:15:49 UTC
Red Hat Issue Tracker OCPBUGS-4501 0 None None None 2023-05-09 07:22:43 UTC
Red Hat Issue Tracker RHELPLAN-156799 0 None None None 2023-05-09 14:15:52 UTC
freedesktop.org Gitlab NetworkManager NetworkManager-ci merge_requests 1429 0 None merged bond: add bond_stay_up_when_ipv6_flushed test 2023-06-07 08:39:23 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1622 0 None merged ipv6ll: don't regenerate the address when it's removed externally 2023-05-16 07:14:48 UTC

Description Beniamino Galvani 2023-05-09 07:22:43 UTC
Description of problem:

When the link-local address is removed externally, NetworkManager marks the ipv6ll method as failed and the whole activation fails if IPv6 is required. This is particularly bad when the device is virtual (bond, bridge, etc.) because the interface will disappear. This is a regression introduced in 1.36.0.


Version-Release number of selected component:

All versions from 1.36 to current git main (1.43.7)


Steps to Reproduce:

$ nmcli connection add type ethernet ifname enp1s0 ipv4.method disabled connection.autoconnect no
$ nmcli connection up ethernet-enp1s0
$ ip addr flush dev enp1s0
$ nmcli connection


Actual results:
The connection goes down.


Expected results:
The connection stays up.


Additional info:
Related to https://issues.redhat.com/browse/OCPBUGS-4501

Comment 3 Beniamino Galvani 2023-05-16 15:52:24 UTC
Created attachment 1964922 [details]
Reproducer script

Comment 11 Vladimir Benes 2023-06-07 08:39:23 UTC
Test written, compose tested.
-> VERIFIED


Note You need to log in before you can comment on or make changes to this bug.