Description of problem:
Not sure if this is an anaconda or virt-install problem. Trying to install guests in rawhide-20090921 fails with following error:
anaconda 12.26 exception report^M
Traceback (most recent call first):^M
File "/usr/lib/anaconda/yuminstall.py", line 433, in configBaseURL^M
if not self.anaconda.intf.enableNetwork():^M
File "/usr/lib/anaconda/yuminstall.py", line 297, in __init__^M
File "/usr/lib/anaconda/yuminstall.py", line 1054, in doBackendSetup^M
self.ayum = AnacondaYum(anaconda)^M
File "/usr/lib/anaconda/backend.py", line 274, in doBackendSetup^M
if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK:^M
File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep^M
rc = stepFunc(self.anaconda)^M
File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext^M
File "/usr/lib/anaconda/dispatch.py", line 226, in currentStep^M
File "/usr/lib/anaconda/cmdline.py", line 137, in run^M
(step, instance) = anaconda.dispatch.currentStep()^M
File "/usr/bin/anaconda", line 981, in <module>^M
AttributeError: InstallInterface instance has no attribute 'enableNetwork'^M
install exited abnormally [1/1] ^M
you may safely reboot your system^M
# virsh net-list
Name State Autostart
default active yes
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.# /usr/sbin/virt-install --name i386_hvm_guest --mac 00:16:3E:51:26:A4 --cdrom /var/lib/libvirt/images/i386_hvm_guest.iso --nonsparse --hvm --file /var/lib/libvirt/images/i386_hvm_guest -s 10 --debug --extra-args ks=http://lab.rhts.bos.redhat.com/kickstarts/hosts/guest-81-38.rhts.bos.redhat.com/ks.cfg --prompt --accelerate --os-variant=virtio26 --noreboot
I've tried to install with --nonetworks option as well, failed the same way.
I've committed a patch that'll provide a stub enableNetwork method so you won't get a traceback. However, that doesn't solve the problem of why you even got to this point. Can you attach /tmp/anaconda.log to this bug report?
(In reply to comment #1)
> I've committed a patch that'll provide a stub enableNetwork method so you won't
> get a traceback. However, that doesn't solve the problem of why you even got
> to this point. Can you attach /tmp/anaconda.log to this bug report?
No I can't . At least not anytime soon unless you have an easy way to grab it while installing guests.
When guests are installed over rhts, the anamon kicks in and sends those logs to rhts scheduler but keep in mind that this is a guest crashing before it can set up its networking so it's not able to send anything to rhts or anywhere else for that matter.
If you've got the ability to set up a remote syslog service, you can pass syslog= to anaconda and at least grab the anaconda.log from when stage2 starts. That may have something useful in it.
I am closing this bug, because rawhide-20091005 host/guests installed without this error.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
The VERIFIED, FAILS_QA and RELEASE_PENDING bug states are not used by Fedora (they are used in the RHEL process).
Fedora Bugzappers volunteer triage team