Bug 1823307

Summary: Installation crashes if unregister from CDN
Product: Red Hat Enterprise Linux 8 Reporter: Qin Yuan <qiyuan>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.2CC: cshao, dleroux, jkonecny, jstodola, lsvaty, mavital, peyu, qiyuan, sbarcomb, sbonazzo, sbueno, shlei, tgunders, weiwang, yaniwang
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-13 07:27:15 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
logs in /tmp none

Description Qin Yuan 2020-04-13 08:35:28 UTC
Created attachment 1678401 [details]
logs in /tmp

Description of problem:
During rhvh installation, register to CDN, then unregister, installation will crash with the following error:

anaconda 29.19.2.17 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/livepayload.py", line 342, in setup
    if self.data.method.url.startswith("file://"):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/__init__.py", line 1773, in _runThread
    payload.setup(storage, instClass)
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 286, in run
    threading.Thread.run(self)
AttributeError: 'NoneType' object has no attribute 'startswith'


Version-Release number of selected component (if applicable):
RHVH-4.4-20200409.0-RHVH-x86_64-dvd1.iso

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH-4.4-20200409.0-RHVH-x86_64-dvd1.iso, enable network, and enter CONNECT TO RED HAT screen.
2. Fill out required parameters to register to CDN
3. Click Unregister after successfully registered

Actual results:
1. Installation crashes with the above error

Expected results:
1. Installation won't crash

Additional info:

Comment 1 Yuval Turgeman 2020-04-13 09:33:40 UTC
Qin, this seems like an anaconda bug, right ?

Comment 2 Qin Yuan 2020-04-13 11:31:40 UTC
(In reply to Yuval Turgeman from comment #1)
> Qin, this seems like an anaconda bug, right ?

yes, I think so.

Comment 3 Yuval Turgeman 2020-04-13 11:34:35 UTC
Re-adding the needinfo on Samantha :)

Comment 4 Sandro Bonazzola 2020-05-21 07:45:00 UTC
*** Bug 1837476 has been marked as a duplicate of this bug. ***

Comment 9 Sandro Bonazzola 2021-09-07 12:38:07 UTC
Does this still reproduce?

Comment 10 Qin Yuan 2021-09-08 02:15:36 UTC
Chen will test it and provide the results.

Comment 11 cshao 2021-09-08 03:15:00 UTC
(In reply to Sandro Bonazzola from comment #9)
> Does this still reproduce?

Yes, still can reproduce this issue on RHVH-4.4-20210903.0-RHVH-x86_64-dvd1.iso.

Comment 12 Jiri Konecny 2021-09-10 14:50:02 UTC
Hi,

Could you please point me where I can found the image for testing. Also could you please provide logs from the installation. Right now, I'm not sure what Anaconda are you using if it is before or after rebase.

Comment 16 Jan Stodola 2021-10-08 09:04:19 UTC
I was able to reproduce the original problem on RHEL-8.2 GA when using a kickstart file containing:
liveimg --url=<URL>

The problem described in comment 13 is reproducible on RHEL-8.4 GA, but it will be fixed in RHEL-8.5 as bug 1941578.

When testing RHEL-8.5.0-20211008.n.0 (with anaconda-33.16.5.6-1.el8), none of the problems were reproduced.


Qin Yuan/cshao - do any of you have a chance to confirm that RHVH with a recent anaconda build (anaconda-33.16.5.3-1.el8 or later) works fine for you?

Comment 18 cshao 2021-10-08 10:16:44 UTC
(In reply to Jan Stodola from comment #16)
> I was able to reproduce the original problem on RHEL-8.2 GA when using a
> kickstart file containing:
> liveimg --url=<URL>
> 
> The problem described in comment 13 is reproducible on RHEL-8.4 GA, but it
> will be fixed in RHEL-8.5 as bug 1941578.
> 
> When testing RHEL-8.5.0-20211008.n.0 (with anaconda-33.16.5.6-1.el8), none
> of the problems were reproduced.
> 
> 
> Qin Yuan/cshao - do any of you have a chance to confirm that RHVH with a
> recent anaconda build (anaconda-33.16.5.3-1.el8 or later) works fine for you?

The latest RHVH 4.4.8 is based on RHEL 8.4.
RHVH 4.4.9 is based on RHEL 8.5 but it is not ready until now, I will confirm it once RHVH 4.4.9 build available to testing.

Thanks.

Comment 19 RHEL Program Management 2021-10-13 07:27:15 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 20 cshao 2021-10-14 08:58:03 UTC
(In reply to cshao from comment #18)
> (In reply to Jan Stodola from comment #16)
> > I was able to reproduce the original problem on RHEL-8.2 GA when using a
> > kickstart file containing:
> > liveimg --url=<URL>
> > 
> > The problem described in comment 13 is reproducible on RHEL-8.4 GA, but it
> > will be fixed in RHEL-8.5 as bug 1941578.
> > 
> > When testing RHEL-8.5.0-20211008.n.0 (with anaconda-33.16.5.6-1.el8), none
> > of the problems were reproduced.
> > 
> > 
> > Qin Yuan/cshao - do any of you have a chance to confirm that RHVH with a
> > recent anaconda build (anaconda-33.16.5.3-1.el8 or later) works fine for you?
> 
> The latest RHVH 4.4.8 is based on RHEL 8.4.
> RHVH 4.4.9 is based on RHEL 8.5 but it is not ready until now, I will
> confirm it once RHVH 4.4.9 build available to testing.
> 
> Thanks.

The issue is fixed in RHVH 4.4.9.
When testing RHVH-4.4-20211013.2-RHVH-x86_64-dvd1.iso. (with anaconda-33.16.5.4-1.el8), none of the problems were reproduced.

Comment 21 Jan Stodola 2021-10-14 09:40:12 UTC
Thank you for re-testing. I'm marking this bug as a duplicate of 1941578.

*** This bug has been marked as a duplicate of bug 1941578 ***

Comment 22 Red Hat Bugzilla 2023-09-15 00:30:57 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days