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

leapp reports false-positive on excluded packages

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-8.10
    • leapp-repository
    • None
    • No
    • Moderate
    • rhel-sst-upgrades
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      When executing leapp preupgrade on a RHEL8 system having rng-tool and/or trace-cmd packages installed, a HIGH risk factor shows up:

      Risk Factor: high
      Title: Packages available in excluded repositories will not be installed
      Summary: 2 packages will be skipped because they are available only in target system repositories that are intentionally excluded from the list of repositories used during the upgrade. See the report message titled "Excluded target system repositories" for details.
      The list of these packages:
      - jitterentropy-devel (repoid: codeready-builder-for-rhel-9-x86_64-rpms)
      - libtracecmd-devel (repoid: codeready-builder-for-rhel-9-x86_64-rpms)
      Key: 2437e204808f987477c0e9be8e4c95b3a87a9f3e
      

      The reason for getting this false-positive is rng-tool and trace-cmd packages got split into multiple parts, some of them won't be installed anyway since in CRB:

      2024-10-09 15:09:22.437 DEBUG    PID: 19126 leapp.workflow.FactsCollection.pes_events_scanner: Applying event 8811 (Action.SPLIT): replacing packages rng-tools:rhel8-BaseOS with rng-tools:rhel9-BaseOS, jitterentropy:rhel9-BaseOS, jitterentropy-devel:rhel9-CRB
      
      2024-10-09 15:09:22.426 DEBUG    PID: 19126 leapp.workflow.FactsCollection.pes_events_scanner: Applying event 7266 (Action.SPLIT): replacing packages trace-cmd:rhel8-BaseOS with trace-cmd:rhel9-BaseOS, libtracecmd:rhel9-BaseOS, libtracecmd-devel:rhel9-CRB
      

      There is no reason to report this since the packages are not already installed on the system.

      This is confusing, because neither of the packages are installed on the RHEL8 system.

      What is the impact of this issue to you?

      Confusing for customers

      Please provide the package NVR for which the bug is seen:

      leapp-upgrade-el8toel9-0.20.0-2.el8.noarch

      How reproducible is this bug?:

      Always, just install rng-tool and trace-cmd packages.

              leapp-notifications leapp-notifications
              rhn-support-rmetrich Renaud Métrich
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Miriam Portman Miriam Portman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: