Bug 2196797 - RFE: enhance the resolution for "Network configuration for unsupported device types detected" actor
Summary: RFE: enhance the resolution for "Network configuration for unsupported device...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: leapp-repository
Version: 8.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Maria Simon
QA Contact: upgrades-and-conversions
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-10 09:11 UTC by Renaud Métrich
Modified: 2023-08-16 14:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Story
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OAMG-9069 0 None None None 2023-05-10 10:36:33 UTC
Red Hat Issue Tracker RHELPLAN-156873 0 None None None 2023-05-10 10:36:28 UTC
Red Hat Knowledge Base (Solution) 7009239 0 None None None 2023-05-10 09:11:46 UTC

Description Renaud Métrich 2023-05-10 09:11:46 UTC
Description of problem:

Currently, when a /etc/sysconfig/network-scripts/ifcfg-XXX file exists, the upgrade is inhibited and following reported:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Risk Factor: high (inhibitor)
Title: Network configuration for unsupported device types detected
Summary: RHEL 9 does not support the legacy network-scripts package that was deprecated in RHEL 8 in favor of NetworkManager. Files for device types that are not supported by NetworkManager are present in the system. Files with the problematic configuration:
    - /etc/sysconfig/network-scripts/ifcfg-XXX
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

This message is vague, IMHO it should tell the user to use "nmcli connection migrate ..." commands instead.

Version-Release number of selected component (if applicable):

leapp-upgrade-el8toel9-0.17.0-3.el8.noarch

How reproducible:

Always, just enough to have a ifcfg file

Comment 2 Petr Stodulka 2023-05-10 10:35:53 UTC
Hi Renaud, thank you for the feedback and tip. In the meanwhile, the original report is going to be improved with the upcoming release, adding a remediation instruction (read below), however the command is not mentioned. Possibly another improvement could be done. Assinging to Lubomir who is SME in this area to decide this.

The upstream PR:
  https://github.com/oamg/leapp-repository/pull/969

The added remediation msg:
~~~
Ensure the ifcfg files comply with format described in nm-settings-ifcfg-rh(5) manual and remove the NM_CONTROLLED key from them.
~~~


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