Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1962365

Summary: [OSP13->16.1] leapp fails with: Detected loaded kernel drivers which have been removed in RHEL 8
Product: Red Hat OpenStack Reporter: Jesse Pretorius <jpretori>
Component: openstack-tripleo-heat-templatesAssignee: Jesse Pretorius <jpretori>
Status: CLOSED ERRATA QA Contact: Jason Grosso <jgrosso>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: gregraka, jfrancoa, mburns, pambre, sgolovat, spower
Target Milestone: z7Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20210720153314.el8ost Doc Type: Bug Fix
Doc Text:
Before this update, the Red Hat Enterprise Linux (RHEL) in-place upgrade tool, LEAPP, stalled because it encountered loaded kernel modules that are no longer provided in RHEL 8. Also, LEAPP upgraded RHEL to a version that is not supported by Red Hat OpenStack Platform (RHOSP). With this update, the manual configurations that you had to perform to workaround these two issues are no longer required. (For more information, see link:https://bugzilla.redhat.com/show_bug.cgi?id=1962365[BZ1962365].
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 20:19:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jesse Pretorius 2021-05-19 20:14:19 UTC
When trying to upgrade the undercloud, the following error is emitted:

Upgrade has been inhibited due to the following problems:
    1. Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.
Consult the pre-upgrade report for details and possible remediation.


Then in /var/log/leapp/leapp-report.txt

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
Please see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#removed-device-drivers_hardware-enablement for details.
Remediation: [hint] Please disable detected kernel drivers in order to proceed with the upgrade process using the rmmod or modprobe -r.
Key: b6fd580136aaf67fa42d68fb75b27f6e13f47c2d

Comment 2 Jesse Pretorius 2021-05-20 16:36:49 UTC
Documentation changes have been suggested to work around the issue: https://bugzilla.redhat.com/show_bug.cgi?id=1962831

Comment 23 Jesse Pretorius 2021-11-30 10:15:08 UTC
The final configuration to use for 16.1.0 - 16.1.6 is this entry in the upgrades-environment.yaml file:

parameter_defaults:
  LeappInitCommand: |
    for module in pata_acpi floppy; do sudo sed -i "/^${module}$/d" /usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/kernel/checkkerneldrivers/files/removed_drivers.txt; done

If there are any other modules which inhibit the leapp upgrade they can be added to the list after confirming that they are not used for anything.

Comment 33 errata-xmlrpc 2021-12-09 20:19:39 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 (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement advisory), 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-2021:3762