Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1289259 - Kickstart does not handle bad repository gracefully
Summary: Kickstart does not handle bad repository gracefully
Keywords:
Status: CLOSED DUPLICATE of bug 1271657
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-07 18:42 UTC by W. Michael Petullo
Modified: 2016-02-25 09:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-25 09:11:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Kickstart script (5.55 KB, text/x-matlab)
2015-12-07 18:42 UTC, W. Michael Petullo
no flags Details
Anaconda log (6.46 KB, text/plain)
2015-12-07 18:46 UTC, W. Michael Petullo
no flags Details
anaconda-tb file (332.87 KB, text/plain)
2015-12-08 18:06 UTC, W. Michael Petullo
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.