Bug 1530428

Summary: AttributeError: 'FC3_Cdrom' object has no attribute 'url' (crash when selecting an http repository in text mode)
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: anacondaAssignee: Vendula Poncova <vponcova>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: anaconda-maint-list, awilliam, fzatlouk, jonathan, kellin, kparal, lbrabec, lnie, pschindl, pwhalen, robatino, vanmeeuwen+fedora, v.podzimek+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: AcceptedBlocker abrt_hash:5845e2c45abc83ac9e187932c3c78b6902037a2b8151a9d2b0bcc50d9e1ca694;
Fixed In Version: anaconda-28.20-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-08 06:43:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1469204    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
screenshot none

Description lnie 2018-01-03 02:38:55 UTC
Description of problem:


Version-Release number of selected component:
anaconda-28.15

The following was filed automatically by anaconda:
anaconda 28.15 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 81, in __getattr__
    return getattr(command, name)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/spokes/installation_source.py", line 274, in refresh
    self._container.add(EntryWidget(dialog.title, self.data.method.url), self._set_repo_url, dialog)
  File "/usr/lib/python3.6/site-packages/simpleline/render/screen_scheduler.py", line 232, in _process_screen
    top_screen.ui_screen.refresh(top_screen.args)
AttributeError: 'FC3_Cdrom' object has no attribute 'url'

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-rawh rd.live.check quiet inst.text
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.15.0-0.rc6.git0.1.fc28.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 lnie 2018-01-03 02:40:04 UTC
Created attachment 1376038 [details]
File: anaconda-tb

Comment 2 lnie 2018-01-03 02:40:07 UTC
Created attachment 1376039 [details]
File: anaconda.log

Comment 3 lnie 2018-01-03 02:40:09 UTC
Created attachment 1376040 [details]
File: dnf.librepo.log

Comment 4 lnie 2018-01-03 02:40:11 UTC
Created attachment 1376041 [details]
File: environ

Comment 5 lnie 2018-01-03 02:40:13 UTC
Created attachment 1376042 [details]
File: hawkey.log

Comment 6 lnie 2018-01-03 02:40:16 UTC
Created attachment 1376043 [details]
File: lorax-packages.log

Comment 7 lnie 2018-01-03 02:40:18 UTC
Created attachment 1376044 [details]
File: lsblk_output

Comment 8 lnie 2018-01-03 02:40:20 UTC
Created attachment 1376045 [details]
File: nmcli_dev_list

Comment 9 lnie 2018-01-03 02:40:22 UTC
Created attachment 1376046 [details]
File: os_info

Comment 10 lnie 2018-01-03 02:40:28 UTC
Created attachment 1376047 [details]
File: program.log

Comment 11 lnie 2018-01-03 02:40:39 UTC
Created attachment 1376048 [details]
File: storage.log

Comment 12 lnie 2018-01-03 02:41:09 UTC
Created attachment 1376049 [details]
File: syslog

Comment 13 lnie 2018-01-03 02:41:11 UTC
Created attachment 1376050 [details]
File: ifcfg.log

Comment 14 lnie 2018-01-03 02:41:14 UTC
Created attachment 1376051 [details]
File: packaging.log

Comment 15 lnie 2018-01-03 04:33:53 UTC
As shown in the attached screenshot,the reproducer is : try to use http for Installation source,see this with Fedora-Server-dvd-x86_64-Rawhide-20180101.n.0.iso and Fedora-Server-netinst-x86_64-Rawhide-20180101.n.0.iso.

Comment 16 lnie 2018-01-03 04:34:41 UTC
Created attachment 1376125 [details]
screenshot

Comment 17 Fedora Blocker Bugs Application 2018-01-03 04:35:41 UTC
Proposed as a Blocker for 28-beta by Fedora user lnie using the blocker tracking app because:

 This seems affects the criteria:
When using the dedicated installer images, the installer must be able to use HTTP, FTP and NFS repositories as package sources.

Comment 18 lnie 2018-01-08 06:21:29 UTC
Still happens with the latest Fedora-Server-dvd-x86_64-Rawhide-20180107.n.0.iso,and Fedora-Server-netinst-x86_64-Rawhide-20180107.n.0.iso is fine

Comment 19 Adam Williamson 2018-01-08 17:27:37 UTC
The test of this in openQA is passing:

https://openqa.fedoraproject.org/tests/184723

that's the same thing, selecting an HTTP install source from the INSTALLATION SOURCE tab. The test ran with Fedora-Server-dvd-x86_64-Rawhide-20180107.n.0.iso . So...we might need a bit more detail on the reproduction scenario here? Thanks!

Comment 20 Petr Schindler 2018-01-08 17:32:11 UTC
Discussed at 2018-01-08 blocker review meeting: [1]. 

It was decided to delay the decision: this sounds bad, but openQA has a test covering similar ground that is passing. we need clearer details on the scenario and an independent reproduction before accepting this as a blocker

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2018-01-08/

Comment 21 lnie 2018-01-09 03:17:44 UTC
(In reply to Adam Williamson from comment #19)
> The test of this in openQA is passing:
> 
> https://openqa.fedoraproject.org/tests/184723
> 
> that's the same thing, selecting an HTTP install source from the
> INSTALLATION SOURCE tab. The test ran with
> Fedora-Server-dvd-x86_64-Rawhide-20180107.n.0.iso . So...we might need a bit
> more detail on the reproduction scenario here? Thanks!

  I'm really not familiar with openqa at all,but after looked into the screenshots,it seems that the pass test is using graphical mode,right?
 And if you can take one sec to look at the screenshot I attached,you will find 
 out that this bug happens in text mode.My fault,I forget to highlight the text mode.And I just checked,graphical mode works fine for me too.

Comment 22 Adam Williamson 2018-01-09 03:54:37 UTC
Ah, indeed I didn't check the screenshot, I just read the description.

Comment 23 Paul Whalen 2018-01-10 16:40:34 UTC
Reproduced using the Server DVD with text on both aarch64 and x86_64.

Comment 24 Kamil Páral 2018-01-29 12:32:42 UTC
+1 blocker per criterion in comment 17

Comment 25 František Zatloukal 2018-01-29 12:33:31 UTC
+1 blocker

Comment 26 Lukas Brabec 2018-01-29 12:34:22 UTC
+1 blocker

Comment 27 Kamil Páral 2018-01-29 12:37:41 UTC
Marking as accepted blocker.

Comment 28 Vendula Poncova 2018-02-05 14:13:25 UTC
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/1318

Comment 29 Fedora End Of Life 2018-02-20 15:31:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 30 Adam Williamson 2018-03-07 20:07:55 UTC
Setting to ON_QA, this ought to be fixed in recent-ish composes. Can anyone locate one that vaguely works and confirm whether or not this is fixed?

Comment 31 Adam Williamson 2018-03-08 06:43:12 UTC
Thanks lili! If you confirm that this is fixed, we can close it, nothing more is needed.