Description of problem:
Attempted to PXE boot Fedora 21 RC1 with my kickstart config I've used in past. It thew an error just upon processing kickstart file in Anaconda.
Version-Release number of selected component:
The following was filed automatically by anaconda:
anaconda 21.48.6-1 exception report
Traceback (most recent call first):
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 448, in mirrorEnabled
return "fastestmirror" in self._yum.plugins.enabledPlugins
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/source.py", line 696, in _initialize
if not self.payload.mirrorEnabled:
File "/usr/lib64/python2.7/threading.py", line 766, in run
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
threading.Thread.run(self, *args, **kwargs)
AttributeError: DummyYumPlugins instance has no attribute 'enabledPlugins'
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: initrd=initrd-x86_64.img ip=dhcp slub_debug=- ks=ftp://172.18.2.4/default.ks inst.repo=http://dl.fedoraproject.org/pub/alt/stage/21_Alpha_RC1/Server/x86_64/os zswap.enabled=1 cgroup_disable=memory BOOT_IMAGE=vmlinuz-x86_64
release: Cannot get release name.
Created attachment 938297 [details]
Created attachment 938298 [details]
Created attachment 938299 [details]
Created attachment 938300 [details]
Created attachment 938301 [details]
Created attachment 938302 [details]
Created attachment 938303 [details]
Created attachment 938304 [details]
Created attachment 938305 [details]
Created attachment 938306 [details]
Created attachment 938307 [details]
Created attachment 938308 [details]
This happened if the kickstart config has 'cdrom' on it.. oops... but I think we could fail better then this, no? :)
This really is a bad user case.. PXE installing a remote server with a cdrom that may or may not be mounted. I suppose you *COULD* but...
I think it happens because if the cdrom isn't mounted, yum never initializes all the way, and then when we check yum's plugins object it's a different kind of object that doesn't have .enabledPlugins because life is full of surprises.
anaconda-21.48.10-1.fc21 has been submitted as an update for Fedora 21.
Package anaconda-21.48.10-1.fc21, pykickstart-1.99.63-2.fc21, python-blivet-0.61.5-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-21.48.10-1.fc21 pykickstart-1.99.63-2.fc21 python-blivet-0.61.5-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
anaconda-21.48.10-1.fc21, pykickstart-1.99.63-2.fc21, python-blivet-0.61.5-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.