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 1542609

Summary: With IPv6 temporary addresses RFC4941 NetworkManager keeps deleting and readding addresses
Product: Red Hat Enterprise Linux 7 Reporter: Thomas Haller <thaller>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED UPSTREAM QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: atragler, bgalvani, fgiudici, lrintel, rkhan, sukulkar, 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: 2018-06-18 13:03:43 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:

Description Thomas Haller 2018-02-06 16:17:02 UTC
nm_platform_ip6_address_sync() tries to preserve the address preference in https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/platform/nm-platform.c?id=31d9a9de14dc7e529763e3210337bb6dd628a8a3#n3505

However, this works badly with IPv6 private addresses (RFC4941) and on every sync NM will delete and re-add all addresses. At least, with use_tempaddr=2.


More details follow.

Comment 3 Thomas Haller 2018-02-09 17:29:59 UTC
looking at nm-1-10 branch...

it seems that the culprits for this bug are

https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=19d6d54b6f8ce26039c411a0b686b7c99bc4ee49
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=ffc04e178bcdbcc621a1548ce8c66ff810dadcc9

Both patches are on nm-1-10/rhel-7.5. There it still looks like:

https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/platform/nm-platform.c?id=36d767e6d59e237dad44f2e57228e6767e636b37#n3496


Thus, I think we don't have to fix it there...


Beniamino, what do you think? Do you recall what prompted you to do "platform: improve ipv6 addresses synchronization" ?

Comment 4 Beniamino Galvani 2018-02-12 09:10:00 UTC
(In reply to Thomas Haller from comment #3)
> Beniamino, what do you think? Do you recall what prompted you to do
> "platform: improve ipv6 addresses synchronization" ?

After https://bugzilla.gnome.org/show_bug.cgi?id=790061 some CI tests broke and the commit was intended to fix them (see comment 13). I think there is nothing to do for 7.5.

Comment 5 Thomas Haller 2018-02-12 09:26:26 UTC
Ok, so no 7.5 material as the bug is only present on master.

It automatically becomes a candidate for 7.6 (if we rebase again).

Comment 6 Thomas Haller 2018-06-18 13:03:43 UTC
Since this was not in rhel-7.5 but only a development version for rhel-7.6, this bug should not be in the changelog (for rhel-7.6).

Closing as UPSTREAM.