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

Setup based on mirrorlist.centos.org fails - web site not exits #5762

Open
frodrigo opened this issue Aug 6, 2024 · 3 comments
Open

Setup based on mirrorlist.centos.org fails - web site not exits #5762

frodrigo opened this issue Aug 6, 2024 · 3 comments

Comments

@frodrigo
Copy link

frodrigo commented Aug 6, 2024

All setup based on mirrorlist.centos.org fails with "Could not retrieve mirrorlist". The web site does not any more exits.

It fails on vagrant up hoot_centos7_rpm like on docker RPM based setup.
Add any other context about the problem here.

@Erfanh1995
Copy link

This is because CentOS 7 is old and hootenanny doesn't work on 8 apparently. Use vagrant sshwhen the VM is up. You need to go to .repo files in the directory /etc/yum.repos.d inside the VM and comment out all the mirrorlist lines and uncomment all the baseurl lines. There are three files in /etc/yum.repos.d that include mirrorlist lines: CentOS-base.repo , CentOS-SCLo-scl.repo and CentOS-SCLo-scl-rh.repo. Modify them using vim. You will also need to change mirror.centos to vault.centos in the baseurl lines.
This will fix the issue with the VM but I am currently stuck at this stage where after running the VM without error and logging into it, it does not recognize hoot command. I have already run source ./SetupEnv.sh and I am inside hoot directory.

@olearytd
Copy link
Contributor

olearytd commented Oct 5, 2024

Good morning, sorry that responses were delayed on this.

@Erfanh1995 guidance should work; if you want to use sed these are the commands I've used in the past

    sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
    sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
    sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

Internal teams at Maxar that manage the releases are slowly working towards EL9 support. Sorry for the delay!

@Erfanh1995
Copy link

Hi @olearytd, any guesses on why hoot command is not recognized on my VM? I am currently trying to run hootenanny via the command line. I have followed the steps in the instructions and the VM runs without error but hoot command is still not found. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants