Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1499 No internet leads to a failure to backup packages that cause a transaction validation failure
  3. RHELC-1506

No internet leads to a failure to backup pkgs that cause a transaction validation failure - Integration tests

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.1.0
    • None
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Testable

      The parent issue RHELC-1499 has the label that triggered autocreation of this subtask to track the relative story point estimation for the integration test part of the issue.

      The parent issue description at the time of creation of this issue was:
      In the attached convert2rhel.log (and in the snippet copied out below) we can see that the conversion transaction can't proceed due to unresolvable dependencies of two packages:

      • libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64
      • abrt-retrace-client-2.1.11-60.el7.centos.x86_64

      Convert2RHEL is supposed to handle this case by auto-removing the "problematic" packages but before doing so it tries to back them up but it fails to do so.

      The problem is that the package backup does not use the backed up repofiles as it should (because they contain CentOS repo definitions) due to not having internet connection available (see the debug message "Not using repository files stored in /var/lib/convert2rhel/backup/ed2e326f3aefc335463ab68aa15a72c2 due to the absence of internet access.")

      As a workaround to proceed further both packages need to be manually removed prior to the conversion.

       

      Resolving the dependencies of the packages in the yum transaction set.
      [2024-04-12T09:32:49+0000] DEBUG - Dependency resolution failed:
      - libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64 requires libreport-web = 2.1.11-53.el7.centos
      - abrt-retrace-client-2.1.11-60.el7.centos.x86_64 requires abrt = 2.1.11-60.el7.centos
      - libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64 requires libreport = 2.1.11-53.el7.centos
      [2024-04-12T09:32:49+0000] DEBUG - Removing problematic packages to continue with the conversion:
      libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64
      abrt-retrace-client-2.1.11-60.el7.centos.x86_64
      Backing up the packages: libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64,abrt-retrace-client-2.1.11-60.el7.centos.x86_64.
      [2024-04-12T09:32:49+0000] DEBUG - Not using repository files stored in /var/lib/convert2rhel/backup/ed2e326f3aefc335463ab68aa15a72c2 due to the absence of internet access.
      [2024-04-12T09:32:49+0000] DEBUG - Downloading the libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64 package.
      [2024-04-12T09:32:49+0000] DEBUG - Calling command 'yumdownloader -v --destdir=/var/lib/convert2rhel/backup --releasever=7 --setopt=varsdir=/var/lib/convert2rhel/backup/586d3964cc0b6446dda4f39d1a35ef0e libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64'
      WARNING - Output from the yumdownloader call:
      Loading "fastestmirror" plugin
      Loading "langpacks" plugin
      Loading "product-id" plugin
      Loading "subscription-manager" plugin
      Adding en_US.UTF-8 to language list
      Adding C to language list
      Updating Subscription Management repositories.
      Config time: 1.335
      Repository client-tools-for-rhel-7-server-rpms is listed more than once in the configuration
      Loading mirror speeds from cached hostfile
      https://cdn.redhat.com/content/dist/rhel/server/7/7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
      Trying other mirror.
      To address this issue please refer to the below wiki article 
      https://wiki.centos.org/yum-errors
      If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
      failure: repodata/repomd.xml from rhel-7-server-rpms: [Errno 256] No more mirrors to try.
      https://cdn.redhat.com/content/dist/rhel/server/7/7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
      CRITICAL - Couldn't download the libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64 package which is needed to do a rollback of this action. Check to make sure that the CentOS Linux repositories are enabled and the package is updated to its latest version.
      

       

      This bug has been first identified at https://issues.redhat.com/browse/RHELC-1385?focusedId=24063420&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-24063420. It will likely be resolved by RHELC-1497 or RHELC-1385.

            Unassigned Unassigned
            rhel-process-autobot RHEL Jira bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: