Bug 1289259

Summary: Kickstart does not handle bad repository gracefully
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, atodorov, g.kaviyarasu, jonathan, mike, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-25 09:11:51 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
Kickstart script
none
Anaconda log
none
anaconda-tb file none

Description W. Michael Petullo 2015-12-07 18:42:54 UTC
Created attachment 1103333 [details]
Kickstart script

Description of problem:
I have a Kickstart script which I have used to install many versions of Fedora. I have found that this script no longer works with Fedora 23.

Version-Release number of selected component (if applicable):
Fedora 23's anaconda

How reproducible:
Every time

Steps to Reproduce:
Try to install Fedora 23 using the kickstart script and the network install image.

Actual results:
Anaconda fails with:

Traceback (most recent call first):
  File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/dnfpayload.py", line 550, in spaceRequired
    for (key, val) in self.storage.mountpoints.items():
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/space.py", line 76, in check
    needed = self.payload.spaceRequired
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 79, in prompt
    if self._checker and not self._checker.check():
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 346, in _mainloop
    prompt = last_screen.prompt(self._screens[-1][1])
AttributeError: 'NoneType' object has no attribute 'mountpoints'

Expected results:
Fedora 23 should install according to the Kickstart script.

Additional info:
Other log files and Kickstart script attached.

Comment 1 W. Michael Petullo 2015-12-07 18:46:28 UTC
Created attachment 1103334 [details]
Anaconda log

Comment 2 W. Michael Petullo 2015-12-07 21:09:28 UTC
After further study, this seems to be due to some of the repositories listed in the Kickstart script being unavailable. I think this could be handled more gracefully so that the administrator gets a more useful error message.

Comment 3 Chris Lumens 2015-12-07 21:28:50 UTC
Please attach the complete /tmp/anaconda-tb-* file to this bug report.  Thanks.

Comment 4 W. Michael Petullo 2015-12-08 18:06:04 UTC
Created attachment 1103659 [details]
anaconda-tb file

Comment 5 Alexander Todorov 2016-02-25 09:11:51 UTC

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