Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
.The GUI installation fails on older hardware or VMs when registering the system using the Connect to Red Hat feature
Accessing the GUI library (GTK3) from a non-main thread results in the GUI installation failing when attempting to register the system on older hardware or VMs with low resource allocations. This issue does not impact Kickstart installations that register the system using the `rhsm` command.
To work around this problem, apply the `updates image` hotfix that is attached to this bug on a RHEL 8.2 Beta image. To do so, place the `updates image` on an HTTP server and boot the system using `inst.updates=<path to the image>`. The registration and installation process proceeds as expected. Alternatively, using newer hardware with faster processing power or VMs with higher resource allocations reduces the risk of encountering this problem.
Description of problem:
Occasionally when registering during installation to CDN anaconda hangs
gui is unresponsible, by top in serial console I can see anaconda process consuming 100 % of CPU
Version-Release number of selected component (if applicable):
anaconda 29.19.2.6-1.el8
How reproducible:
Occasionally
Steps to Reproduce:
1. Start gui or VNC installation
2. proceed to 'Connect to Red Hat' spoke
3. use "Account" authentication, fill user name, password, uncheck "Connect to Red Hat Insights" checkbox, for our testing we use custom server URL and base URL
4. click "Register" button
Actual results:
text under form informs you that system is registering, then changes to "Attaching subscription..." and GUI stops to respond (cannot invoke Help, button Done does not change color when mouse is over it)
Expected results:
installation can continue
Additional info:
I can run "subscription-manager status" or "subscription-manager list --consumed" command from serial terminal and it says that system is registered and some subscription attached
Happened on x86_64 and aarch64 (maybe orher arches too)
Looks like this is cased by GTK being unexpectedly accessed from a non-main thread. GTK is unfortunately non thread safe and non-main thread access can make it to lock up.
I've created a PR with a fix, that makes sure the subscription thread callbacks are always run in the context of the main thread:
https://github.com/rhinstaller/anaconda/pull/2262
At least in my environment (a special slow VM where I managed to reproduce the lockup regularly) this seems to have fixed the issue.
Also see the following bug which sounds similar...
Bug 1789469 - Registration with syspurpose values set on the anaconda installer page is stuck forever
Created attachment 1652428[details]
Updates image with hotfix for the subscription deadlock issue, that can be applied against RHEL 8.2 Beta.
Adding an updates image with fix for the subscription deadlock issue, that can be used by anyone affected by applying the updates image on a RHEL 8.2 Beta image.
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, 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:1584