Leapp upgrade fail with error "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed."
Environment
- Red Hat Enterprise Linux 7
- VMware Guest
- leapp
Issue
-
Leappupgrade fails with error as "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed."Risk Factor: high (inhibitor) Title: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8: - floppy - pata_acpi
Resolution
-
Backup the initramfs being currently used for booting
# cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.backup -
Build a generic initramfs containing all drivers
# dracut -N -f -
Stop the system
# shutdown -
On the VMWare Hypervisor side, change the SCSI Controller type
In "VM Hardware" pane, click on "Edit" button, then "SCSI Controller x" and choose "VMware Paravirtual" in "Change Type".
-
(Optional but recommended) On the VMWare Hypervisor side, upgrade the hardware level
Right-click on the VM, then choose "Compatibility" then "Upgrade VM compatibility" and select "ESXi 7.0 update 3 or later" as a minimum.
-
Boot the system and once booted run following
# dracut -f --regenerate-all
Root Cause
- The controller types are deprecated, see the Hardware Enablement: Rmoved Device Drivers documentation
- The
VMwareguest was using "LSI Logic Parallel" for "SCSI controller 0" in Hardware settings.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.