convert2rhel fails on Centos 7 with "CRITICAL - The following kernel modules are not supported in RHEL: /lib/modules/3.10.0-1160.25.1.el7.x86_64/kernel/net/netfilter/nfnetlink.ko.xz"
Issue
convert2rhel fails with:
CRITICAL - The following kernel modules are not supported in RHEL: /lib/modules/3.10.0-1160.25.1.el7.x86_64/kernel/net/netfilter/nfnetlink.ko.xz Uninstall or disable them and run convert2rhel again to continue with the conversion. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/convert2rhel/main.py", line 87, in main pre_ponr_conversion() File "/usr/lib/python2.7/site-packages/convert2rhel/main.py", line 199, in pre_ponr_conversion checks.perform_pre_ponr_checks() File "/usr/lib/python2.7/site-packages/convert2rhel/checks.py", line 125, in perform_pre_ponr_checks ensure_compatibility_of_kmods() File "/usr/lib/python2.7/site-packages/convert2rhel/checks.py", line 151, in ensure_compatibility_of_kmods ).format(kmods=not_supported_kmods) File "/usr/lib/python2.7/site-packages/convert2rhel/logger.py", line 103, in _critical sys.exit(msg) SystemExit: The following kernel modules are not supported in RHEL: /lib/modules/3.10.0-1160.25.1.el7.x86_64/kernel/net/netfilter/nfnetlink.ko.xz Uninstall or disable them and run convert2rhel again to continue with the conversion.
Environment
- Centos 7
- convert2rhel
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.