#301 mirror3.ci.centos.org does not resolve
Closed: Fixed 2 years ago by arrfab. Opened 2 years ago by dcavalca.

When building a container on the openshift CentOS CI, it failed with

CentOS Stream 8 - AppStream                     4.8 MB/s | 151 kB     00:00
Errors during downloading metadata for repository 'appstream':
  - Status code: 404 for http://mirror.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/a9d335a95024ae21921f19e33d9a43e98598da613afe18ee7b43fe68a218a326-primary.xml.gz (IP: 172.19.0.7)
  - Status code: 404 for http://mirror.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz (IP: 172.19.0.7)
  - Curl error (6): Couldn't resolve host name for http://mirror3.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz [Could not resolve host: mirror3.ci.centos.org]
  - Status code: 404 for http://mirror2.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz (IP: 172.19.0.7)
  - Status code: 404 for http://mirror4.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz (IP: 172.19.0.7)
  - Status code: 404 for http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz (IP: 172.19.0.7)
  - Status code: 404 for http://mirror2.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/a9d335a95024ae21921f19e33d9a43e98598da613afe18ee7b43fe68a218a326-primary.xml.gz (IP: 172.19.0.7)
  - Status code: 404 for http://mirror4.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/a9d335a95024ae21921f19e33d9a43e98598da613afe18ee7b43fe68a218a326-primary.xml.gz (IP: 172.19.0.7)
  - Curl error (6): Couldn't resolve host name for http://mirror3.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/a9d335a95024ae21921f19e33d9a43e98598da613afe18ee7b43fe68a218a326-primary.xml.gz [Could not resolve host: mirror3.ci.centos.org]
  - Status code: 404 for http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/a9d335a95024ae21921f19e33d9a43e98598da613afe18ee7b43fe68a218a326-primary.xml.gz (IP: 172.19.0.7)
Error: Failed to download metadata for repo 'appstream': Yum repo downloading error: Downloading error(s): repodata/a9d335a95024ae21921f19e33d9a43e98598da613afe18ee7b43fe68a218a326-primary.xml.gz - Cannot download, all mirrors were already tried without success; repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz - Cannot download, all mirrors were already tried without success

The interesting bit here is:

  - Curl error (6): Couldn't resolve host name for http://mirror3.ci.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/d4d09414fad26e91bc4135782ed7823d71ebfc7d00bf127deba2f16c5a8f7ed4-filelists.xml.gz [Could not resolve host: mirror3.ci.centos.org]

Metadata Update from @arrfab:
- Issue assigned to arrfab

2 years ago

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: centos-ci-infra, low-gain, low-trouble

2 years ago

Thanks, as you noticed already, there is in fact only one mirror for ci, and others were just added in the past for some older yum code to have multiple entries, but mirror{2,3,4} are just CNAME:

 for i in {2..4} ; do dig +short mirror${i}.ci.centos.org;done
store01.ci.centos.org.
172.19.0.7
store01.ci.centos.org.
172.19.0.7
store01.ci.centos.org.
172.19.0.7

It seems that when zone was moved to bind on new gateway, mirror3 was missing, but now added. Thanks for reporting

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
CentOS CI Infra Status: Backlog