Disable SELinux for the period of the upgrade.
:
************************************************
setenforce 0
Make sure that you are registered through subscription-manager:
****************************************************************
subscription-manager list --installed
Make sure that you have the following repositories enabled:
**************************************************************
subscription-manager repos --enable rhel-7-server-rpms // Enable the
Base repository:
subscription-manager repos --enable rhel-7-server-extras-rpms // Enable the
Extras repository where Leapp and its dependencies are available
subscription-manager release --unset // Set the Red
Hat Subscription Manager to use the latest RHEL 7 content
Update all installed packages:
*******************************
yum update -y
Restart the host:
******************
reboot
Install Leapp:
*****************************************************
yum install -y leapp leapp-repository leapp-upgrade
Perform the upgrade
The Leapp upgrade command:
********************************
leapp upgrade --target 8.8
============================================================
REPORT OVERVIEW
============================================================
Upgrade has been inhibited due to the following problems:
1. Leapp detected loaded kernel drivers which have been removed in RHEL 8.
Upgrade cannot proceed.
2. Missing required answers in the answer file
Upgrade has been inhibited due to the following problems:
1. Leapp detected loaded kernel drivers which have been removed in RHEL 8.
Upgrade cannot proceed.
if get this error:
*******************
rmmod floppy pata_acpi
modprobe -r floppy pata_acpi
Mostly, the pata_acpi driver might not be in use even though the driver is loaded.
However, if the hardware has a legacy PATA controller that works with the driver
and drives attached to the controller, please consider migrating to modern hardware
such as SATA or SCSI/SAS controllers.
2. Missing required answers in the answer file
Manually edit the /var/log/leapp/answerfile file, uncomment the confirm line of the
file by deleting the # symbol, and confirm your answer as True
confirm = True
Answerfile has been generated at /var/log/leapp/answerfile
Reboot the system to continue with the upgrade. This might take a while depending
on the system configuration.
Make sure you have console access to view the actual upgrade process.