RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1862116 - Anaconda : Registration of the RHEL 8.3 system fails
Summary: Anaconda : Registration of the RHEL 8.3 system fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Martin Kolman
QA Contact: Release Test Team
Shweta Naresh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-30 13:50 UTC by Christian Labisch
Modified: 2020-11-04 03:25 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2020-11-04 03:23:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhel8.3beta-1.png (111.29 KB, image/png)
2020-07-30 13:55 UTC, Christian Labisch
no flags Details
rhel8.3beta-2.png (111.33 KB, image/png)
2020-07-30 13:55 UTC, Christian Labisch
no flags Details
rhel8.3beta-3.png (123.53 KB, image/png)
2020-07-31 12:58 UTC, Christian Labisch
no flags Details
tar file of logs for registration attempt (87.95 KB, application/x-xz)
2020-08-01 11:31 UTC, Michael Young
no flags Details
rhel8.3beta.tar.xz (73.18 KB, application/x-xz)
2020-08-01 16:05 UTC, Christian Labisch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4729 0 None None None 2020-11-04 03:24:20 UTC

Description Christian Labisch 2020-07-30 13:50:05 UTC
There seems to be a bug in Anaconda of the boot.iso, that makes it impossible to install the system.
I have added the boot option ip=dhcp to the boot parameters to ensure a working internet connection.

Registration of the RHEL 8.3 system fails with [Erno -2] Name or service not known - although network is connected.
Looks as if the installer doesn't find my account and/or a valid Red Hat Beta subscription, which of course I have.

Main problem : The net installer functionality can only be used when the install medium is connected to Red Hat CDN.
To make sure that this was not a temporary issue, I've booted with the RHEL 8.2 boot.iso and could register at once.

The same is valid for dvd.iso as well, it is not possible to register the system from within the Anaconda installer.
Additional information : other customers can confirm what I report -> https://access.redhat.com/discussions/5253291

Comment 1 Christian Labisch 2020-07-30 13:55:10 UTC
Created attachment 1702958 [details]
rhel8.3beta-1.png

Comment 2 Christian Labisch 2020-07-30 13:55:38 UTC
Created attachment 1702959 [details]
rhel8.3beta-2.png

Comment 3 Samantha N. Bueno 2020-07-31 10:41:15 UTC
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.

Comment 4 Christian Labisch 2020-07-31 12:56:05 UTC
(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

Comment 5 Christian Labisch 2020-07-31 12:58:22 UTC
Created attachment 1703100 [details]
rhel8.3beta-3.png

Comment 6 Michael Young 2020-08-01 11:31:01 UTC
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).

Comment 7 Michael Young 2020-08-01 12:37:00 UTC
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.

Comment 8 Christian Labisch 2020-08-01 16:05:25 UTC
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

Comment 9 Michael Young 2020-08-01 16:13:46 UTC
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.

Comment 10 Christian Labisch 2020-08-01 17:29:42 UTC
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

Comment 11 Martin Kolman 2020-08-03 15:42:13 UTC
PR with a fix: https://github.com/rhinstaller/anaconda/pull/2762

Comment 12 Samantha N. Bueno 2020-08-03 15:47:07 UTC
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. :)

Comment 14 Christian Labisch 2020-08-04 10:05:52 UTC
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

Comment 21 ir. Jan Gerrit Kootstra 2020-08-10 05:46:41 UTC
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

Comment 28 errata-xmlrpc 2020-11-04 03:23:57 UTC
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


Note You need to log in before you can comment on or make changes to this bug.