Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-95215

Preupgrade from RHEL Real Time fails with DNF execution error

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • Low
    • rhel-upgrades
    • 20
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      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

      1. Provision a new RHEL 8.10 system.
      2. Enable the Real Time repositories:
        subscription-manager repos --enable rhel-8-for-x86_64-rt-rpms
      3.  Install the Real Time kernel
        dnf install kernel-rt
      4.  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
      

              leapp-notifications leapp-notifications
              adupliak Anna Dupliak
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: