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.

Bug 1941578

Summary: Anaconda traceback when registering to CDN and using liveimg payload
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: jstodola, mkolman, pzatko, qiyuan, rvykydal, sbueno, ymankad, zveleba
Target Milestone: rcKeywords: TestCaseNeeded, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-33.16.5.3-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1955311 (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 Flags
Crash in Subscription Manager spoke when proxy is badly configured none

Description Renaud Métrich 2021-03-22 12:15:19 UTC
Created attachment 1765234 [details]
Crash in Subscription Manager spoke when proxy is badly configured

Description of problem:

A customer trying to install RHV4.4-20210202.0 (based on RHEL8.3) cannot install using the graphical interface because he gets the following backtrace shortly after clicking on Register in Subscription Manager spoke:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/ui/gui/spokes/subscription.py", line 875, in _register
    source_type = source_proxy.Type
  File "/tmp/updates/pyanaconda/ui/gui/spokes/subscription.py", line 476, in on_register_button_clicked
    self._register()
AttributeError: 'NoneType' object has no attribute 'Type'

Local variables in innermost frame:
source_proxy: None 
self: SubscriptionSpoke
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

I can reproduce as well, by setting up a broken proxy URL in the NIC being used.
I'm however not exactly sure if the same scenario happens for the customer since we verified that his network configuration (and proxy) were valid.

Version-Release number of selected component (if applicable):

33.16.3.26-1

How reproducible:

Always

Steps to Reproduce:
1. Configure the NIC and add a broken proxy PAC configuration "http://192.168.122.10/proxy.pac" (192.168.122.10 being not reachable)
2. Go to Subscription Manager spoke and enter login details
3. Click on Register button

Actual results:

Crash

Expected results:

No crash

Additional infos:

See also related BZ #1938168 (but for NTP spoke)

Comment 1 Jan Stodola 2021-03-22 19:44:36 UTC
It's not necessary to configure proxy, just boot RHV iso, enable network and try to register.

Also reproduced on RHEL-8.3 when using the liveimg kickstart command:

liveimg --url <URL>

Comment 8 Zdenek Veleba 2021-07-23 15:45:19 UTC
Pre-verified with anaconda-33.16.5.3-1.el8 in RHEL-8.5.0-20210718.d.2

Comment 12 Jan Stodola 2021-08-02 15:30:17 UTC
anaconda-33.16.5.3-1.el8 is present in RHEL-8.5.0-20210730.n.0, moving to VERIFIED.

Comment 13 Jan Stodola 2021-10-14 09:40:12 UTC
*** Bug 1823307 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2021-11-09 18:42:11 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-2021:4254