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 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: CLOSED ERRATA
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-11-07 10: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: 2023-11-07 08:38:04 UTC
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
Red Hat Product Errata RHBA-2023:6585 0 None None None 2023-11-07 08:38:44 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

Comment 13 errata-xmlrpc 2023-11-07 08:38:04 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:6585


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