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

old repomap data stops leapp but gives no clear answer to a resolution.

    • leapp-repository-0.19.0-4.el7_9
    • sst_upgrades
    • 5
    • False
    • Hide

      None

      Show
      None

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

      leapp upgrade fails with:

       

      leapp fails with "The repository mapping file is invalid: The obtained repomap data has unsupported version of format. Get 1.0.0 required 1.2.0"

      Please provide the package NVR for which bug is seen:

       leapp-0.16

      Steps to reproduce

      1. Old leapp data in /etc/leapp/files
      2. leapp upgrade
      3.  

      Expected results

      The data should be treated like systemd does services. The data should be in /usr/ with the other leapp data. And if the customer needs to customize the data, they copy that into the /etc/leapp/files location where, if present, will override the default leapp data.

      Then if this issue is encountered, leapp needs to output a message on how to resolve it, not talking about versions, but literally "remove or update the /etc/leapp/files" in order to use the latest leapp data 

      If we wont move the leapp data, then we need to output a message to say "remove /etc/leapp/files/*json and reinstall the leapp-upgrade-elXtoelY package"

      Actual results

      This output is only seen in the leapp-report.txt and doesn't tell the user what data to actually remove or what its reading. This should have a remediation step telling them precisely what to do. 

       

      2023-11-29 09:54:22.108156 [ERROR] Actor: repository_mapping
      Message: The repository mapping file is invalid: The obtained repomap data has unsupported version of format. Get 1.0.0 required 1.2.0
      Summary:
          Hint: All official data files are nowadays part of the installed rpms. This issue is usually encountered when the data files are incorrectly customized, replaced, or removed (e.g. by custom scripts). In case you want to recover the original file, remove it (if still exists) and reinstall the leapp-upgrade-el7toel8 rpm.
      2023-11-29 09:55:09.263103 [ERROR] Actor: repositories_blacklist
      Message: Actor didn't receive required messages: RepositoriesMapping
      2023-11-29 09:55:12.627614 [ERROR] Actor: pes_events_scanner
      Message: Cannot parse RepositoriesMapping data properly
      Summary:
          Problem: Did not receive a message with mapped repositories
       

       

       

      KCS - leapp fails with "The repository mapping file is invalid: The obtained repomap data has unsupported version of format. Get 1.0.0 required 1.2.0"

            Unassigned Unassigned
            rhn-support-jcastran John Castranio
            Petr Stodulka Petr Stodulka
            RHEL Upgrades QE Team RHEL Upgrades QE Team
            Miriam Portman Miriam Portman
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: