WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] libvirtError: POST operation failed: xend_post: error from x

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [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.')
From: qq hx <houqh06@xxxxxxxxx>
Date: Mon, 12 Jul 2010 14:53:13 +0800
Delivery-date: Tue, 13 Jul 2010 08:42:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Zl0wJazJ54igvT5EXUOl0Hj0hjqlDzq7GFoCQENOgGc=; b=WrsaLVXcLift3JM0cBwGyR5+GRPrpm03++ry+Lh8QP7oGDcb/JpfhT0XwnvtDt0lvi 1ybyY1zZZOkw0pLMosVqSWAHbB7o70ySAhDfRY5lRPUEPt4awQQyDBvwcOJY1C9OYz9r O54BOD3xFx3+2rzREE1OnOedZulJX0oEaMQaA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [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.'), qq hx <=