Red Hat Bugzilla – Bug 233229
virt-install: taillibvir: Xen Daemon error : POST operation failed:
Last modified: 2008-01-30 10:26:41 EST
Description of problem:
virt-install failed after creating storage file. Below shows the traceback result.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Below is the console outputs:
[root@fiji3 images]# virt-install
What is the name of your virtual machine? v31f3
How much RAM should be allocated (in megabytes)? 500
What would you like to use as the disk (path)? /var/lib/xen/images/v31f3.i
How large would you like the disk (/var/lib/xen/images/v31f3.i) to be (in
Would you like to enable graphics support? (yes or no) yes
What is the install location? http://192.168.3.102/a/fed/x86_64/os
Retrieving RPM-GPG-KEY... 100% |=========================| 1.9 kB 00:00
Retrieving vmlinuz... 100% |=========================| 2.0 MB 00:00
Retrieving initrd.img... 100% |=========================| 5.6 MB 00:00
Creating storage file... 100% |=========================| 6.0 GB 00:00
taillibvir: Xen Daemon error : POST operation failed: (xend.err 'Device 0 (vif)
could not be connected. Hotplug scripts not working.')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 484, in <module>
File "/usr/sbin/virt-install", line 445, in main
dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 476, in
return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 493, in
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 429, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed:
(xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')
Created attachment 150548 [details]
Does xenbr2 exist as a bridge device, and if so, did you see any SELinux AVC
errors reported perhaps ? The latest Xen ought to give a sane error message if
the former occurred, so I can only suspect the latter based on the logs.
Yes xenbr2 does exist as bridge device. I didn't see any AVC error, but to put
selinux out of the equation I disabled it by executing "setenforce 0". Same problem.
My guess of the problem:
virt-install is trying to configure and install from the first network (eth1,
which it found first) rather than from the preferred second network (eth2, where
the install source is located). Maybe xen couldn't properly configure all the
virtual interfaces required for multiple LAN cards. I have 3 LAN cards currently
When I get a chance I'll try having only one LAN card and see if it works.
Created attachment 150689 [details]
screenshot of initial kernel bootup
Created attachment 150691 [details]
setroubleshooter output preventing xen to read config.sxp
With the latest devel build, everything works with the exception of selinux
blocking the virt-manager from proceeding.
I will close this one and open another for selinux problem.
change QA contact
Reported said this is working now so I'm going to close this.