qq hx
2010-Jul-12 06:53 UTC
[Xen-users] libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err ''Device 0 (vif) could not be connected. Hotplug scripts not working.'')
hi guys
My OS is centos 5.4
uname -a :
Linux localhost.localdomain 2.6.18-prep #1 SMP Mon Jul 12 20:03:46 CST 2010
x86_64 x86_64 x86_64 GNU/Linux
and my xen version is 3.3.1, I install xen from souce code.
The xen dom0 and xend is ok but I can''t use virt-install to install a
domU.
The error is below:
****************************************************************************************************************************************************************************
[root@localhost ~]# virt-install
ERROR A name is required for the virtual machine. (use --prompt to run
interactively)
[root@localhost ~]# virt-install -n vm1 -r 512 --vcpus=1
--file=/root/virtual/vm1/vm1.img -l ftp://192.168.0.140
Starting install...
Retrieving file .treeinfo... | 440 B 00:00
Retrieving file vmlinuz... | 1.9 MB 00:00
Retrieving file initrd.img... | 6.3 MB 00:00
ERROR POST operation failed: xend_post: error from xen daemon: (xend.err
''Device 0 (vif) could not be connected. Hotplug scripts not
working.'')
Domain installation may not have been
successful. If it was, you can restart your domain
by running ''virsh start vm1''; otherwise, please
restart your installation.
ERROR POST operation failed: xend_post: error from xen daemon: (xend.err
''Device 0 (vif) could not be connected. Hotplug scripts not
working.'')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 889, in ?
main()
File "/usr/sbin/virt-install", line 751, in main
start_time, guest.start_install)
File "/usr/sbin/virt-install", line 813, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541,
in
start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633,
in
_do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in
createLinux
if ret is None:raise libvirtError(''virDomainCreateLinux()
failed'',
conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon:
(xend.err ''Device 0 (vif) could not be connected. Hotplug scripts not
working.'')
***************************************************************************************************************************************************************************
Can someone help me about this?
Many Thanks
Mark
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
