Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-71239

Component Readiness: [Installer / openshift-installer] [Other] metal IPI install failed because it failed to download metadata for repos

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      (Feel free to update this bug's summary to be more specific.)
      Component Readiness has found a potential regression in the following test:

      install should succeed: other

      Significant regression detected.
      Fishers Exact probability of a regression: 99.98%.
      Test pass rate dropped from 98.48% to 90.70%.

      Sample (being evaluated) Release: 4.22
      Start Time: 2026-01-01T00:00:00Z
      End Time: 2026-01-08T00:00:00Z
      Success Rate: 90.70%
      Successes: 39
      Failures: 4
      Flakes: 0
      Base (historical) Release: 4.21
      Start Time: 2025-12-09T00:00:00Z
      End Time: 2026-01-08T00:00:00Z
      Success Rate: 98.48%
      Successes: 195
      Failures: 3
      Flakes: 0

      View the test details report for additional context.

      Filed by: jialiu@redhat.com

       

      In https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-release-master-nightly-4.22-e2e-metal-ipi-upgrade-ovn-ipv6/2008495961604624384

      TASK [packages_installation : Install packages on CentOS/RHEL] *****************
      task path: /opt/dev-scripts/metal3-dev-env/vm-setup/roles/packages_installation/tasks/main.yml:60
      Tuesday 06 January 2026  05:13:54 -0600 (0:00:00.032)       0:00:01.477 ******* 
      <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
      <localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
      <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968 `" && echo ansible-tmp-1767698034.3319483-10012-200700023671968="` echo /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968 `" ) && sleep 0'
      Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/dnf.py
      <localhost> PUT /root/.ansible/tmp/ansible-local-98846u97tsgy/tmpsztgilze TO /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968/AnsiballZ_dnf.py
      <localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968/ /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968/AnsiballZ_dnf.py && sleep 0'
      <localhost> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968/AnsiballZ_dnf.py && sleep 0'
      <localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1767698034.3319483-10012-200700023671968/ > /dev/null 2>&1 && sleep 0'
      The full traceback is:
        File "/tmp/ansible_ansible.legacy.dnf_payload_qb6gpzhi/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 758, in _base
        File "/usr/lib/python3.9/site-packages/dnf/base.py", line 413, in fill_sack
          self._add_repo_to_sack(r)
        File "/usr/lib/python3.9/site-packages/dnf/base.py", line 142, in _add_repo_to_sack
          repo.load()
        File "/usr/lib/python3.9/site-packages/dnf/repo.py", line 581, in load
          raise dnf.exceptions.RepoError(str(e))
      fatal: [localhost]: FAILED! => {
          "changed": false,
          "invocation": {
              "module_args": {
                  "allow_downgrade": false,
                  "allowerasing": false,
                  "autoremove": false,
                  "bugfix": false,
                  "cacheonly": false,
                  "conf_file": null,
                  "disable_excludes": null,
                  "disable_gpg_check": false,
                  "disable_plugin": [],
                  "disablerepo": [],
                  "download_dir": null,
                  "download_only": false,
                  "enable_plugin": [],
                  "enablerepo": [],
                  "exclude": [],
                  "install_repoquery": true,
                  "install_weak_deps": true,
                  "installroot": "/",
                  "list": null,
                  "lock_timeout": 30,
                  "name": [
                      "bind-utils",
                      "curl",
                      "dnsmasq",
                      "edk2-ovmf",
                      "firewalld",
                      "genisoimage",
                      "httpd-tools",
                      "jq",
                      "libguestfs-tools",
                      "libguestfs-tools",
                      "libvirt",
                      "libvirt-daemon-kvm",
                      "libvirt-devel",
                      "NetworkManager",
                      "nmap",
                      "patch",
                      "podman",
                      "polkit-pkla-compat",
                      "psmisc",
                      "python3-bcrypt",
                      "python3-libvirt",
                      "python3-lxml",
                      "python3-netaddr",
                      "python3-requests-oauthlib",
                      "python3-six",
                      "qemu-img",
                      "qemu-kvm",
                      "unzip",
                      "vim-enhanced",
                      "virt-install",
                      "wget"
                  ],
                  "nobest": true,
                  "releasever": null,
                  "security": false,
                  "skip_broken": false,
                  "sslverify": true,
                  "state": "present",
                  "update_cache": false,
                  "update_only": false,
                  "use_backend": "auto",
                  "validate_certs": true
              }
          },
          "msg": "Failed to download metadata for repo 'epel': Yum repo downloading error: Downloading error(s): repodata/5cb11175abfd64aa2389d93619cf9a0bc25726bf23a85ba862bf524823925efa-primary.xml.xz - Cannot download, all mirrors were already tried without success; repodata/9488d9e78a79ab24252fe8733d43b66da3623bf204e4f8500a3435c57dde3dd8-filelists.xml.xz - Cannot download, all mirrors were already tried without success; repodata/a10255220c5229146657f8522ce4a3f06e4034fa501689bd680e1a2f56e1b455-updateinfo.xml.bz2 - Cannot download, all mirrors were already tried without success",
          "rc": 1,
          "results": []
      }
      
      PLAY RECAP *********************************************************************
      localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=9    rescued=0    ignored=0   
      
      Tuesday 06 January 2026  05:14:13 -0600 (0:00:19.087)       0:00:20.565 ******* 
      =============================================================================== 
      packages_installation : Install packages on CentOS/RHEL ---------------- 19.09s
      /opt/dev-scripts/metal3-dev-env/vm-setup/roles/packages_installation/tasks/main.yml:60 
      Gathering Facts --------------------------------------------------------- 1.17s
      /opt/dev-scripts/metal3-dev-env/vm-setup/install-package-playbook.yml:1 -------
      packages_installation : Install required packages for Ubuntu ------------ 0.03s
      /opt/dev-scripts/metal3-dev-env/vm-setup/roles/packages_installation/tasks/main.yml:3 
      +(./01_install_requirements.sh:1): removetmp
      +(utils.sh:959): removetmp(): '[' -n '' ']'
      +(utils.sh:959): removetmp(): true
      make: *** [Makefile:52: requirements] Error 2
      + rv=2 

      It failed on downloading metadata for epel repo.

              eterrell@redhat.com Eduardo Otubo
              openshift-trt OpenShift Technical Release Team
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: