Red Hat Bugzilla – Bug 1289259
Kickstart does not handle bad repository gracefully
Last modified: 2016-02-25 04:11:51 EST
Created attachment 1103333 [details]
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
Steps to Reproduce:
Try to install Fedora 23 using the kickstart script and the network install image.
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])
AttributeError: 'NoneType' object has no attribute 'mountpoints'
Fedora 23 should install according to the Kickstart script.
Other log files and Kickstart script attached.
Created attachment 1103334 [details]
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.
Please attach the complete /tmp/anaconda-tb-* file to this bug report. Thanks.
Created attachment 1103659 [details]
*** This bug has been marked as a duplicate of bug 1271657 ***