[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.')


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: qq hx <houqh06@xxxxxxxxx>
  • Date: Mon, 12 Jul 2010 14:53:13 +0800
  • Delivery-date: Tue, 13 Jul 2010 08:42:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jCGGHNFuH6wQ0i6CxKR1BBQAODg+67jQgJ8L7lMovCDKlSB6BQbXUln2bjmYhx6LP2 e5wZ06R3Dcfe6PG8zNNTNcB+ZQ40BdnX293rdg+UpAaA+9kbmVrSi9xwuGBgtte8obAI 7sN791RH5AIYJIfcWwYW8Ze6emu3WOKzSyLBw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.