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 2059608 - [RFE] Create migration tool for ifcfg configuration to NetworkManager keyfiles
Summary: [RFE] Create migration tool for ifcfg configuration to NetworkManager keyfiles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lubomir Rintel
QA Contact: Matej Berezny
Jaroslav Klech
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-01 13:37 UTC by Fernando F. Mancera
Modified: 2022-11-15 12:07 UTC (History)
10 users (show)

Fixed In Version: NetworkManager-1.39.0-1.el9
Doc Type: Enhancement
Doc Text:
.NetworkManager now supports migration from `ifcfg-rh` to key file Users can migrate their existing connection profile files from the `ifcfg-rh` format to the key file format. This way, all connection profiles will be in one location and in the preferred format. The key file format has the following advantages: * Closely resembles the way how NetworkManager expresses network configuration * Guarantees compatibility with future RHEL releases * Is easier to read * Supports all connection profiles To migrate the connections, run: ---- # nmcli connection migrate ---- Note that the `ifcfg-rh` files will work correctly during the RHEL 9 lifetime. However, migrating the configuration to the key file format guarantees compatibility beyond RHEL 9. For more details, see the `nmcli(1)`, nm-settings-keyfile(5), and nm-settings-ifcfg-rh(5) manual pages.
Clone Of:
Environment:
Last Closed: 2022-11-15 10:49:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-114123 0 None None None 2022-03-01 13:44:19 UTC
Red Hat Product Errata RHBA-2022:8265 0 None None None 2022-11-15 10:49:51 UTC
freedesktop.org Gitlab NetworkManager NetworkManager-ci merge_requests 1035 0 None opened connection: added tests checking functionality of migration tool 2022-05-30 09:09:59 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1146 0 None opened Migrate connections to keyfile plugin with "nmcli conn migrate" command 2022-03-24 13:14:26 UTC

Description Fernando F. Mancera 2022-03-01 13:37:28 UTC
Description of problem:

Create a migration tool for ifcfg file to keyfiles. This way the users will be able to migrate their ifcfg profiles to keyfiles before upgrading to RHEL 9.

User story:

As a Linux user, I would like to have all my network configuration files in one place, so that I can easily debug them.


As a Linux user, I would like to migrate all my ifcfg configuration files to keyfiles. so that I don't need to install the ifup/ifdown subpackage with the ifcfg parser.

Comment 15 errata-xmlrpc 2022-11-15 10:49:31 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-2022:8265


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