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 1868254 - [nm-next] refactor NetworkManager's IP configuration done by NMDevice
Summary: [nm-next] refactor NetworkManager's IP configuration done by NMDevice
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.4
Assignee: Beniamino Galvani
QA Contact: Vladimir Benes
URL:
Whiteboard:
Depends On: 2001986 2001993
Blocks: 1066703 1713380
TreeView+ depends on / blocked
 
Reported: 2020-08-12 06:58 UTC by Thomas Haller
Modified: 2022-05-10 15:31 UTC (History)
11 users (show)

Fixed In Version: NetworkManager-1.36.0-0.1.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 14:54:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2022:1985 0 None None None 2022-05-10 14:54:38 UTC

Description Thomas Haller 2020-08-12 06:58:06 UTC
bug 1066703 is about improving how we model network configuration in NetworkManager, in particular how we model devices.

currently, NMDevice does too many things. A NMDevice instance is itself exported on D-Bus (it is-a NMDBusObject). But it also implements most of the relevant handling for IP configuration.

In a first step, refactor the IP configuration and make it independent of NMDevice. For that, introduce a new class NML3Cfg and NML3ConfigData which are responsible for tracking and applying IP configuration. NML3ConfigData wil in parts replace NMIP4Config/NMIP6Config, which also has too many responsibilities (being also an NMDBusObject and tracking configuration).


This is already WIP. More work is necessary.

Comment 2 Thomas Haller 2020-11-02 15:01:41 UTC
current work in progress is branch "th/l3cfg-??" (where ?? is a number).

That last branch contains one commit that changes in large parts the state handling of NMDevice. It will starting using NML3Cfg, NML3ConfigData, NML3IPv4LL, and thereby replace NMIP[46]Config. It also needs to entirely rework the handling of the activation state.

Doing that, is one huge commit. It cannot be split into smaller parts, because once you start changing NMDevice implementation, it all needs to be reworked together.

The work is done, when the last "th/l3cfg-??" gets merged to master.


Moving back to ASSIGNED.

Comment 8 Thomas Haller 2021-08-26 13:43:19 UTC
the branch is now just called "next", as this is the next major rework of NetworkManager. Still WIP.

Comment 10 Fernando F. Mancera 2021-11-19 09:49:07 UTC
It has been tested by running multiple CI jobs and doing a performance test.

Comment 13 Vladimir Benes 2021-11-22 17:22:54 UTC
We see some minor glitches but overall results are good.

Comment 16 errata-xmlrpc 2022-05-10 14:54:06 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/RHEA-2022:1985


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