-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-8.10
What were you trying to do that didn't work?
I was attempting to perform a preupgrade using the leapp utility to upgrade a RHEL 8.10 for Real Time system to RHEL 9.4 for Real Time. The preupgrade process was interrupted.
What is the impact of this issue to you?
This issue prevents from upgrading RHEL for Real Time systems
Please provide the package NVR for which the bug is seen:
leapp-0.19.0-1.el8_10.noarch
How reproducible is this bug?:
Steps to reproduce
- Provision a new RHEL 8.10 system.
- Enable the Real Time repositories:
subscription-manager repos --enable rhel-8-for-x86_64-rt-rpms
- Install the Real Time kernel
dnf install kernel-rt
- Assess upgrade
leapp preupgrade --target 9.4
Expected results
The leapp preupgrade command should complete successfully, providing a report of potential issues and confirming that the system is ready for upgrade
Actual results
The leapp preupgrade command interrupts and fails. The reported inhibitor is:
"DNF execution failed with non zero exit code."
The underlying cause appears to be conflicting requests during the DNF execution phase of the preupgrade. See the full inhibitor in inhibitor.txt
Note: take in account that dnf complains on rt-setup package owned by RHEL8 kernel-rt and since it is installonly it does not get removed during upgrade, but rt-setup is not provided in the newer RHEL-9 .
Workaround
Remove the kernel-rt rpm before the upgrade or instruct leapp to remove it. It should not have a negative impact as the kernel-rt rpm is just a metapackage and it does not contain any real content. To instruct leapp for the removal, just:
echo kernel-rt >>/etc/leapp/transaction/to_remove
- mentioned in
-
Page Loading...
- mentioned on