Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPEL 7 builds started to fail due to centos7 EOL URLs #3320

Closed
kokesak opened this issue Jul 1, 2024 · 6 comments
Closed

EPEL 7 builds started to fail due to centos7 EOL URLs #3320

kokesak opened this issue Jul 1, 2024 · 6 comments
Assignees

Comments

@kokesak
Copy link

kokesak commented Jul 1, 2024

In several projects we are using the copr for building packages to RHEL7/Centos7 - this now started to fail as the centos-7 reached the EOL.
Full log:
https://download.copr.fedorainfracloud.org/results/@oamg/convert2rhel/epel-7-x86_64/07696053-convert2rhel/builder-live.log.gz
https://download.copr.fedorainfracloud.org/results/mlitwora-redhat/c2r-mock-utility/epel-7-x86_64/07695922-convert2rhel/builder-live.log.gz

Would it be possible to fix the URLs to point to the vault (https://vault.centos.org/centos/7/) on the build systems instead of the mirrorlist?

Copr repository                                 407 kB/s |  42 kB     00:00    
CentOS-7 - Base                                 0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'base':
  - Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os [Could not resolve host: mirrorlist.centos.org]
Error: Failed to download metadata for repo 'base': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os [Could not resolve host: mirrorlist.centos.org]
WARNING: DNF command failed, retrying, attempt #2, sleeping 10s
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Updating Subscription Management repositories.
Unable to read consumer identity
@danmyway
Copy link

danmyway commented Jul 1, 2024

IIUIC there is a container image pulled, which has the last update pushed ~ 5 years ago
https://hub.docker.com/r/centos/redis-32-centos7

@bocekm
Copy link
Contributor

bocekm commented Jul 1, 2024

@bocekm
Copy link
Contributor

bocekm commented Jul 1, 2024

If a container image needs to be used then this one https://hub.docker.com/r/eurolinux/centos-7 can be used after EuroLinux/containers-rfc#10 is fixed.

@praiskup
Copy link
Member

praiskup commented Jul 2, 2024

Yup, CentOS project is EOL: rpm-software-management/mock#1397

For Copr, it seems pretty easy to keep x86_64 working from vault, but not other architectures.

@praiskup praiskup moved this from Needs triage to In Progress in CPT Kanban Jul 2, 2024
@praiskup
Copy link
Member

praiskup commented Jul 2, 2024

Jakub promised he'd took a look at this one. Seems that we could/should switch EPEL-7 chroots in Copr to RHEL+EPEL in Copr

ryanlerch pushed a commit to fedora-infra/ansible that referenced this issue Jul 2, 2024
ryanlerch pushed a commit to fedora-infra/ansible that referenced this issue Jul 2, 2024
@FrostyX
Copy link
Member

FrostyX commented Jul 2, 2024

Seems that we could/should switch EPEL-7 chroots in Copr to RHEL+EPEL in Copr

Done on both Fedora Copr and Internal Copr. I can now successfully build in EPEL7 chroots, so closing the issue. If needed, please reopen.

@FrostyX FrostyX closed this as completed Jul 2, 2024
@FrostyX FrostyX moved this from In Progress to Done in CPT Kanban Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

5 participants