Upgrade has been inhibited due to the following problems: 1. Use of HA cluster detected. Upgrade can't proceed. 2. Leapp detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. 3. Missing required answers in the answer file HIGH and MEDIUM severity reports: 1. Packages available in excluded repositories will not be installed 2. Packages not signed by Red Hat found on the system 3. Difference in Python versions and support in RHEL 8 4. Leapp detected loaded kernel drivers which are no longer maintained in RHEL 8. 5. GRUB2 core will be automatically updated during the upgrade Reports summary: Errors: 0 Inhibitors: 3 HIGH severity reports: 5 MEDIUM severity reports: 0 LOW severity reports: 2 INFO severity reports: 4 Before continuing, review the full report below for details about discovered problems and possible remediation instructions: A report has been generated at /var/log/leapp/leapp-report.txt A report has been generated at /var/log/leapp/leapp-report.json ============================================================ END OF REPORT OVERVIEW ============================================================ Answerfile has been generated at /var/log/leapp/answerfile
Reviewing the pre-upgrade report.
~]# less /var/log/leapp/leapp-report.txt Risk Factor: high (inhibitor) Title: Use of HA cluster detected. Upgrade can't proceed. Summary: HA cluster is not supported by the inplace upgrade. HA cluster configuration file(s) found. It seems to be a cluster node. Related links: - Recommended Practices for Applying Software Updates to a RHEL High Availability or Resilient Storage Cluster: https://access.redhat.com/articles/2059253 - Leapp upgrade from RHEL 7 to RHEL 8 fails for pacemaker cluster: https://access.redhat.com/solutions/7049940 Remediation: [hint] Destroy the existing HA cluster or (if you have already removed HA cluster packages) remove configuration files /var/lib/pacemaker/cib/cib.xml and /etc/corosync/corosync.conf [command] sh -c pcs cluster stop --all --wait && pcs cluster destroy --all Key: 36e04b77aa0b9661e1c00713bf133b3a52ff7bde ---------------------------------------- Risk Factor: high (inhibitor) Title: Leapp 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: - pata_acpi Related links: - Leapp preupgrade getting "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed." : https://access.redhat.com/solutions/6971716 - Leapp upgrade fail with error "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.": https://access.redhat.com/solutions/5436131 Key: f08a07da902958defa4f5c2699fae9ec2eb67c5b ---------------------------------------- Risk Factor: high (inhibitor) Title: Missing required answers in the answer file Summary: One or more sections in answerfile are missing user choices: remove_pam_pkcs11_module_check.confirm For more information consult https://red.ht/leapp-dialogs. Related links: - Leapp upgrade fail with error "Inhibitor: Missing required answers in the answer file.": https://access.redhat.com/solutions/7035321 Remediation: [hint] Please register user choices with leapp answer cli command or by manually editing the answerfile. [command] leapp answer --section remove_pam_pkcs11_module_check.confirm=True Key: d35f6c6b1b1fa6924ef442e3670d90fa92f0d54b
Total size: 953 M DNF will only download packages, install gpg keys, and check the transaction. Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Complete! ====> * remove_upgrade_artifacts Removes artifacts left over by previous leapp runs ====> * efi_interim_fix Adjust EFI boot entry for first reboot ====> * add_upgrade_boot_entry Add new boot entry for Leapp provided initramfs. A reboot is required to continue. Please reboot your system.
Debug output written to /var/log/leapp/leapp-upgrade.log
HIGH and MEDIUM severity reports: 1. Packages available in excluded repositories will not be installed 2. GRUB2 core will be automatically updated during the upgrade 3. Packages not signed by Red Hat found on the system 4. Leapp detected loaded kernel drivers which are no longer maintained in RHEL 8. 5. Difference in Python versions and support in RHEL 8 6. Module pam_pkcs11 will be removed from PAM configuration
Reports summary: Errors: 0 Inhibitors: 0 HIGH severity reports: 5 MEDIUM severity reports: 1 LOW severity reports: 3 INFO severity reports: 4
Before continuing, review the full report below for details about discovered problems and possible remediation instructions: A report has been generated at /var/log/leapp/leapp-report.txt A report has been generated at /var/log/leapp/leapp-report.json
============================================================ END OF REPORT OVERVIEW ============================================================
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.
~]# reboot
Performing post-upgrade tasks
Verify that the Leapp utility has finished all actions in the upgrade process and the system is ready to be used.
~]# [ -e "/etc/systemd/system/leapp_resume.service" ] || ps -e | grep -q leapp && echo"Leapp has not finished the execution yet!"
Verify that the current OS and kernel version.
~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.10 (Ootpa)
~]# uname -r 4.18.0-553.el8_10.x86_64
Remove any remaining Leapp packages from the exclude list in the /etc/dnf/dnf.conf configuration file.
~]# dnf config-manager --save --setopt exclude=''
Remove the old kernel from the boot loader entry.
~]# cd /lib/modules && ls -d *.el7* 3.10.0-1160.el7.x86_64
Total size: 921 M DNF will only download packages, install gpg keys, and check the transaction. Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Stderr: Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system No matches found for the following disable plugin patterns: subscription-manager Warning: Package marked by Leapp to upgrade not found in repositories metadata: python2-leapp leapp-upgrade-el7toel8 leapp RPM: warning: Generating 6 missing index(es), please wait... Error: Transaction test error: file /usr/lib64/liblua-5.3.so from install of lua-libs-5.3.4-12.el8.x86_64 conflicts with file from package lua53u-libs-5.3.4-1.ius.centos7.x86_64 Hint: If there was a problem reaching remote content (see stderr output) and proxy is configured in the YUM/DNF configuration file, the proxy configuration is likely causing this error. Make sure the proxy is properly configured in /etc/dnf/dnf.conf. It's also possible the proxy settings in the DNF configuration file are incompatible with the target system. A compatible configuration can be placed in /etc/leapp/files/dnf.conf which, if present, it will be used during some parts of the upgrade instead of original /etc/dnf/dnf.conf. In such case the configuration will also be applied to the target system. Note that /etc/dnf/dnf.conf needs to be still configured correctly for your current system to pass the early phases of the upgrade process.