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

Centos6 docker build failing with Mirrorlist issues #1745

Closed
gdams opened this issue Dec 8, 2020 · 5 comments · Fixed by #1765 or #1780
Closed

Centos6 docker build failing with Mirrorlist issues #1745

gdams opened this issue Dec 8, 2020 · 5 comments · Fixed by #1765 or #1780
Assignees
Labels
Milestone

Comments

@gdams
Copy link
Member

gdams commented Dec 8, 2020

Currently, this is broken upstream and waiting on a fix

CentOS/sig-cloud-instance-images#176

@gdams
Copy link
Member Author

gdams commented Dec 8, 2020

Setting up Update Process
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up Everything
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Determining fastest mirrors
Error: Cannot find a valid baseurl for repo: base

@karianna karianna added this to TODO in infrastructure via automation Dec 8, 2020
@karianna karianna added the bug label Dec 8, 2020
@Willsparker
Copy link
Contributor

This has also become an issue with the CentOS6 Vagrantfile (see: https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=CentOS6,label=vagrant/957/console)
In the provisioning stage, it's not able to install libselinux-python , causing the Update /etc/hosts file - IP FQDN hostname task to fail.

@Willsparker
Copy link
Contributor

( ref: #1756 )

@Willsparker
Copy link
Contributor

Well, This may or may not have been known but CentOS6 is at the end of it's life (https://wiki.crowncloud.net/index.php?fixing_update_issues_in_centos6), so, naturally, all the yum stuff becomes broken.

As Stewart attempted in the above referenced PR, we can switch to using vault.centos , and I've managed to get this working with the CentOS6 Vagrant VM.

@gdams gdams linked a pull request Dec 16, 2020 that will close this issue
2 tasks
infrastructure automation moved this from TODO to Done Dec 17, 2020
@Willsparker
Copy link
Contributor

This is still an issue, unfortunately - the CentOS SCL repo (installed here , also has an out of date baseurl, so I'm looking to create a task that will change the repo to using CentOS Vault like the changes made to the Vagrantfile and Dockerfile in #1765 .

@Willsparker Willsparker reopened this Dec 18, 2020
infrastructure automation moved this from Done to In Progress Dec 18, 2020
@karianna karianna added this to the December 2020 milestone Dec 18, 2020
infrastructure automation moved this from In Progress to Done Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
3 participants