Bug 1862116
| Summary: | Anaconda : Registration of the RHEL 8.3 system fails | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Christian Labisch <clnetbox> | ||||||||||||
| Component: | anaconda | Assignee: | Martin Kolman <mkolman> | ||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||||
| Severity: | high | Docs Contact: | Shweta Naresh <sjalgaon> | ||||||||||||
| Priority: | unspecified | ||||||||||||||
| Version: | 8.3 | CC: | jangerrit.kootstra, jrusz, jstodola, lmanasko, m.a.young, mkolman, sbueno, sjalgaon | ||||||||||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||||||||||
| Target Release: | 8.0 | ||||||||||||||
| Hardware: | x86_64 | ||||||||||||||
| OS: | Linux | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | anaconda-33.16.3.16-1 | Doc Type: | Bug Fix | ||||||||||||
| Doc Text: |
.System registration using CDN failed with the error message *Name or service not known*
When you attempted to register a system using the Content Delivery Network (CDN), the registration process failed with the error message *Name or service not known*.
This issue occurred because the empty *Custom server URL* and *Custom Base URL* values overwrote the default values for system registration.
With this update, the empty values now do not overwrite the default values, and the system registration completes successfully.
|
Story Points: | --- | ||||||||||||
| Clone Of: | Environment: | ||||||||||||||
| Last Closed: | 2020-11-04 03:23:57 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
Christian Labisch
2020-07-30 13:50:05 UTC
Created attachment 1702958 [details]
rhel8.3beta-1.png
Created attachment 1702959 [details]
rhel8.3beta-2.png
Hi Christian, Could you please attach logs from an installation attempt where you see this error? They can be found in /tmp. Thanks a lot. (In reply to Samantha N. Bueno from comment #3) > Hi Christian, > Could you please attach logs from an installation attempt where you see this > error? They can be found in /tmp. > Thanks a lot. Hi Samantha, What do you mean ? How would I be able to export log files from an ISO that is running in RAM ? As I reported before there is no way to install anything from the boot.iso without registration. Only thing I can give you is a screenshot from the running VM where I switched to TTY afterwards. Regards, Christian Created attachment 1703100 [details]
rhel8.3beta-3.png
Created attachment 1703162 [details]
tar file of logs for registration attempt
I reproduced the same problem in a test set up. I have attached a tar file of the logs (with my username anonymized).
I think I have a workaround. On the Connect to Red Hat page, if I expand the Options section, tick Custom server URL and set to subscription.rhsm.redhat.com I can register successfully. Created attachment 1703180 [details] rhel8.3beta.tar.xz Hi Samantha, Meanwhile I have found a way to provide you with the log files ... I have created and inserted a second virtual disk into the VM and copied them from RAM onto that second disk. Then I mounted this second virtual disk with the libguestfs-tools and copied them onto my fedora workstation - so, here they are. I can confirm that the workaround that Michael provided was successful - selecting "Custom server URL" and inserting "subscription.rhsm.redhat.com" registers successfully - BUT : Unfortunately now the next problem appears ! Installation source - Red Hat CDN says "Error setting up base repository". As a workaround I have tried to add these two URL's, after having selected "On the network" option -> https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/os | https://cdn.redhat.com/content/beta/rhel8/8/x86_64/appstream/os - still no chance - I'm receiving the same error. Regards, Christian It seems what is happening is that on the Connect to Red Hat page, if the Custom server URL and Custom base URL aren't ticked in the Options section (whether on not it is expanded) then these values get set to the blank string (overriding the initial sensible default settings of subscription.rhsm.redhat.com and https://cdn.redhat.com in /etc/rhsm/rhsm.conf) so unless these options are explicitly set to the right values the server can't be subscribed or installed from Red Hat CDN. Hi Samantha, I can confirm what Michael found out : What he described in Comment 9 is the workaround that lets us successfully install RHEL 8.3 Beta - Thanks a lot for that, Michael ! :) Regards, Christian PR with a fix: https://github.com/rhinstaller/anaconda/pull/2762 Thanks, Christian and Michael, and sorry for the trouble. Glad there is a workaround for now. Martin's already got a PR for this, so we'll have it fixed for GA. :) I have posted the temporary solution separately on the Customer Community Portal in order to avoid frustration of customers that run into this issue : https://access.redhat.com/discussions/5290381 All, The issue is also found when using the DVD iso, not only the boot.iso. You might have concluded this already, but still new readers might not be aware of it. Regards, Jan Gerrit Kootstra 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-2020:4729 |