Bug 1946347
| Summary: | The Boot ISO installer for CentOS Stream 8 doesn't offer any mirrors that are needed to do the installation | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Steven Rosenberg <stevenhrosenberg> | ||||||||||||
| Component: | anaconda | Assignee: | Jiri Konecny <jkonecny> | ||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||
| Priority: | unspecified | ||||||||||||||
| Version: | CentOS Stream | CC: | bstinson, carl, jkonecny, jstodola, jwboyer, lisas, pzatko, rvykydal, sbueno | ||||||||||||
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
||||||||||||
| Target Release: | 8.5 | ||||||||||||||
| Hardware: | x86_64 | ||||||||||||||
| OS: | Linux | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | anaconda-33.16.5.1-1.el8 | Doc Type: | If docs needed, set a value | ||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | |||||||||||||||
| : | 1955331 (view as bug list) | Environment: | |||||||||||||
| Last Closed: | 2021-11-09 18:42:11 UTC | Type: | Bug | ||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||
| Documentation: | --- | CRM: | |||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
| Embargoed: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Steven Rosenberg
2021-04-05 20:28:41 UTC
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 33.16.4.15-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 [0], so I've switched that to a requires [1]. I generated a new compose with that change and gave it to Jiri for additional troubleshooting. [0] https://github.com/weldr/lorax/blob/lorax-28.14.58-1/src/pylorax/dnfbase.py#L81 [1] https://git.centos.org/rpms/centos-stream-release/c/9eda8dbd66a0fe26479e403f69001b54885c7c5c?branch=c8s 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-33.16.5.2-1, verified that the patch is present. anaconda-33.16.5.3-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. https://access.redhat.com/errata/RHBA-2021:4254 |