Skip to content

[CI][Packaging] Could not resolve host: mirrorlist.centos.org; Unknown error on wheel almalinux 2014 jobs #43119

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

Are failing with the following error:

#7 [ 2/17] RUN yum install -y dnf
#7 0.412 Loaded plugins: fastestmirror, ovl
#7 0.683 Determining fastest mirrors
#7 0.696 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=aarch64&repo=os&infra=container error was
#7 0.696 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
#7 0.698 
#7 0.698 
#7 0.698  One of the configured repositories failed (Unknown),
#7 0.698  and yum doesn't have enough cached data to continue. At this point the only
#7 0.698  safe thing yum can do is fail. There are a few ways to work "fix" this:
#7 0.698 
#7 0.698      1. Contact the upstream for the repository and get them to fix the problem.
#7 0.698 
#7 0.698      2. Reconfigure the baseurl/etc. for the repository, to point to a working
#7 0.698         upstream. This is most often useful if you are using a newer
#7 0.698         distribution release than is supported by the repository (and the
#7 0.698         packages for the previous distribution release still work).
#7 0.698 
#7 0.698      3. Run the command with the repository temporarily disabled
#7 0.698             yum --disablerepo=<repoid> ...
#7 0.698 
#7 0.698      4. Disable the repository permanently, so yum won't use it by default. Yum
#7 0.698         will then just ignore the repository until you permanently enable it
#7 0.698         again or use --enablerepo for temporary usage:
#7 0.698 
#7 0.698             yum-config-manager --disable <repoid>
#7 0.698         or
#7 0.698             subscription-manager repos --disable=<repoid>
#7 0.698 
#7 0.698      5. Configure the failing repository to be skipped, if it is unavailable.
#7 0.698         Note that yum will try to contact the repo. when it runs most commands,
#7 0.698         so will have to try and fail each time (and thus. yum will be be much
#7 0.698         slower). If it is a very temporary problem though, this is often a nice
#7 0.698         compromise:
#7 0.698 
#7 0.698             yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
#7 0.698 

I am trying to understand if this has to do with the CentOS 7 EOL.

Component(s)

Continuous Integration, Packaging

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions