Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1463

pre-registered system with failed connection check error

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Testable

      The following error:

      [2024-03-19T06:07:34+0000] TASK - [Convert: Remove packages containing .repo files] ******************
      Searching for packages containing .repo files or affecting variables in the .repo files:
      
      centos-release .................................. 1
      WARNING - Removing the following 1 packages:
      
      [2024-03-19T06:07:34+0000] DEBUG - Calling command 'repoquery --quiet -q 0:centos-release-7-9.2009.1.el7.centos.x86_64 --qf C2R %{EPOCH}:%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}&%{REPOID}
      '
      Package                                        Vendor/Packager  Repository
      -------                                        ---------------  ----------
      0:centos-release-7-9.2009.1.el7.centos.x86_64  CentOS           updates
      
      
      
      Backing up centos-release-7-9.2009.1.el7.centos.x86_64.
      [2024-03-19T06:07:34+0000] DEBUG - Not using repository files stored in /var/lib/convert2rhel/backup/ed2e326f3aefc335463ab68aa15a72c2 due to the absence of internet access.
      [2024-03-19T06:07:34+0000] DEBUG - Downloading the centos-release-7-9.2009.1.el7.centos.x86_64 package.
      [2024-03-19T06:07:34+0000] DEBUG - Calling command 'yumdownloader -v --destdir=/var/lib/convert2rhel/backup centos-release-7-9.2009.1.el7.centos.x86_64'
      WARNING - Output from the yumdownloader call:
      Loading "fastestmirror" plugin
      Loading "product-id" plugin
      Loading "subscription-manager" plugin
      Updating Subscription Management repositories.
      Config time: 0.460
      Loading mirror speeds from cached hostfile
       * base: download.cf.centos.org
       * extras: download.cf.centos.org
       * updates: download.cf.centos.org
      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
      

      The url has wrong releasever value -> the RedHat repo should contain /7/7Server/ instead.

      The same is happening with using a proxy.

      Steps to reproduce:

      1. Clean machine
      2. subscribe the machine before the conversion analysis (sca enabled or disabled - does not matter)
      3. echo '127.0.0.1 static.redhat.com' >> /etc/hosts
      4. run the c2r analysis

            rolivier@redhat.com Rodolfo Olivieri
            rhn-support-mlitwora Martin Litwora
            Miriam Portman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: