Created attachment 1769362 [details]
Installation Source scfreen
Description of problem:
When running the Boot ISO of the CentOS Stream 8 installer, no mirrors are offered to the user, who must somehow figure out that manually entering http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/ is one way to continue and successfully install the system
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start the CentOS Stream 8 installer
2. Set up networking
3. Go to the Installation Source spoke of Anaconda, where no mirrors are offered
Installation cannot proceed until the user finds the URL to a working mirror from a search on another device.
Anaconda offers a number of mirrors that the user can select to complete the installation.
Created attachment 1769363 [details]
Anaconda before the network is set up
Created attachment 1769364 [details]
Anaconda after the network is set up
Created attachment 1769365 [details]
Installation Source error message
Created attachment 1769366 [details]
Installation Source error popup
Just for verification, could you please try to run the installation with `ip=dhcp` kernel boot parameter? If I'm correct than you should be able to start the installation as expected.
I ran with ip=dhcp as a kernel boot parameter, and there was no change. Still no mirrors offered.
With CentOS-Stream-8-x86_64-20210421-boot.iso (anaconda 188.8.131.52-1.el8) I see that we're missing repo files in /etc/anaconda.repos.d/
Looking into this.
Hi. Yes, Brian is correct. Installation environment is missing repo files.
The problem seems to be in the `centos-stream-release` package. It should provide `centos-stream-repos` package but this dependency seems to be missing.
Switching component to what seems to be the correct one.
RHELBLD doesn't manage the centos-stream-release package, only the redhat-release package. So redhat-release component is the incorrect component as well.
Brian, what component should this be in for your team?
I don't believe we have a component in bugzilla for centos-stream-release. It should be fine to use the distribution component for this in the future.
centos-stream-release had a recommends for centos-stream-repos, but it seems that lorax is hard coded for install_weak_deps=false , so I've switched that to a requires . I generated a new compose with that change and gave it to Jiri for additional troubleshooting.
Thanks for switching it back. After fixing the the centos-stream-release issue we found out that CentOS Stream also renamed repositories. Problem with that is that Anaconda is matching base repository which is requirement to set the sources successfully. However, now we are not able to match BaseOS repository because it's named baseos on CentOS Stream.
CentOS Stream done this renaming to make the names consistent and they would rather avoid changing it back. So we will fix this in Anaconda to solve this issue.
Because the original issue is not tracked on bugzilla. I will re-use this bug because it's still the same user impact.
We've applied the upstream fixes as patches to the CentOS anaconda package. The CentOS-Stream-8-x86_64-20210427-boot.iso image includes the new package, and has a functional "closest mirror" option after the network is enabled.
I can confirm that this now works. "Closest Mirror" is a working option in the Stream 8 installer.
Tested with anaconda-core-184.108.40.206-1, verified that the patch is present.
anaconda-220.127.116.11-1.el8 is present in RHEL-8.5.0-20210730.n.0.
Moving to VERIFIED based on comments 18,20.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.