From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mina Jafari Subject: (no subject) Date: Wed, 10 Apr 2013 11:27:22 +0430 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3625726155594160299==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-users@lists.xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============3625726155594160299== Content-Type: multipart/alternative; boundary=089e016351a6833bae04d9fc2e0c --089e016351a6833bae04d9fc2e0c Content-Type: text/plain; charset=ISO-8859-1 I can't install any guest vm,(I'm trying this on Fedora13 and kernel 3.2.7,compiled as dom0 and xen 4.1.2) virt-manager connect to xen but when trying to create a new guest it fails with this error: Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')' 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/share/virt-manager/ virtManager/create.py", line 1567, in do_install dom = guest.start_install(False, meter = meter) File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1023, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1088, in _do_install "install") File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1059, in _create_guest dom = self.conn.createLinux(start_xml, 0) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1277, 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.') and the same problem when creating by commandline. I'v set up a bridge: brctl show bridge name bridge id STP enabled interfaces br0 8000.0024e8e7bd75 no eth0 virbr0 8000.000000000000 yes ifcfg-br0 file : DEVICE=br0 TYPE=Bridge BOOTPROTO=dhcp ONBOOT=yes NM_CONTROLLED=yes ifconfig br0 Link encap:Ethernet HWaddr 00:24:E8:E7:BD:75 inet6 addr: fe80::224:e8ff:fee7:bd75/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:554 (554.0 b) eth0 Link encap:Ethernet HWaddr 00:24:E8:E7:BD:75 UP BROADCAST MULTICAST MTU:9000 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:36 Base address:0x8000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:131950 errors:0 dropped:0 overruns:0 frame:0 TX packets:131950 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15243838 (14.5 MiB) TX bytes:15243838 (14.5 MiB) virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:#.#.#.# Bcast:#.#.#.# Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) --089e016351a6833bae04d9fc2e0c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I can't install any guest vm,(I'm trying this on F= edora13 and kernel 3.2.7,compiled as dom0 and xen 4.1.2)
virt-manager connect to xen but when trying to create a new guest it
fails with this error:

Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected.
Hotplug scripts not working.')'
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):
=A0 File "/usr/share/virt-manager/
virtManager/create.= py", line 1567, in
do_install
=A0 =A0 dom =3D guest.start_install(False, meter =3D meter)
=A0 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", li= ne
1023, in start_install
=A0 =A0 return self._do_install(consolecb, meter, removeOld, wait)
=A0 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", li= ne
1088, in _do_install
=A0 =A0 "install")
=A0 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", li= ne
1059, in _create_guest
=A0 =A0 dom =3D self.conn.createLinux(start_xml, 0)
=A0 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 12= 77, in
createLinux
=A0 =A0 if ret is None:raise libvirtError('virDomainCreateLinux() faile= d',
conn=3Dself)
libvirtError: POST operation failed: xend_post: error from xen daemon:
(xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')

and the same problem when creating by commandline.

I'v set up a bridge:
brctl show
bridge name =A0 =A0 bridge id =A0 =A0 =A0 =A0 =A0 =A0 =A0 STP enabled =A0 = =A0 interfaces
br0 =A0 =A0 =A0 =A0 =A0 =A0 8000.0024e8e7bd75 =A0 =A0 =A0 no =A0 =A0 =A0 = =A0 =A0 =A0 =A0eth0
virbr0 =A0 =A0 =A0 =A0 =A08000.000000000000 =A0 =A0 =A0 yes


ifcfg-br0 =A0file :
DEVICE=3Dbr0
TYPE=3DBridge
BOOTPROTO=3Ddhcp
ONBOOT=3Dyes
NM_CONTROLLED=3Dyes



ifconfig
br0 =A0 =A0 =A0 Link encap:Ethernet =A0HWaddr 00:24:E8:E7:BD:75
=A0 =A0 =A0 =A0 =A0 inet6 addr: fe80::224:e8ff:fee7:bd75/64 Scope:Link
=A0 =A0 =A0 =A0 =A0 UP BROADCAST MULTICAST =A0MTU:1500 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
=A0 =A0 =A0 =A0 =A0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 =A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0
=A0 =A0 =A0 =A0 =A0 RX bytes:0 (0.0 b) =A0TX bytes:554 (554.0 b)

eth0 =A0 =A0 =A0Link encap:Ethernet =A0HWaddr 00:24:E8:E7:BD:75
=A0 =A0 =A0 =A0 =A0 UP BROADCAST MULTICAST =A0MTU:9000 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
=A0 =A0 =A0 =A0 =A0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 =A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:1000
=A0 =A0 =A0 =A0 =A0 RX bytes:0 (0.0 b) =A0TX bytes:0 (0.0 b)
=A0 =A0 =A0 =A0 =A0 Interrupt:36 Base address:0x8000

lo =A0 =A0 =A0 =A0Link encap:Local Loopback
=A0 =A0 =A0 =A0 =A0 inet addr:127.0.0.1 =A0Mask:255.0.0.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: ::1/128 Scope:Host
=A0 =A0 =A0 =A0 =A0 UP LOOPBACK RUNNING =A0MTU:16436 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:131950 errors:0 dropped:0 overruns:0 frame:0=
=A0 =A0 =A0 =A0 =A0 TX packets:131950 errors:0 dropped:0 overruns:0 carrier= :0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0
=A0 =A0 =A0 =A0 =A0 RX bytes:15243838 (14.5 MiB) =A0TX bytes:15243838 (14.5= MiB)

virbr0 =A0 =A0Link encap:Ethernet =A0HWaddr 00:00:00:00:00:00
=A0 =A0 =A0 =A0 =A0 inet addr:#.#.#.# =A0Bcast:#.#.#.# =A0Mask:255.255.255.= 0
=A0 =A0 =A0 =A0 =A0 UP BROADCAST MULTICAST =A0MTU:1500 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
=A0 =A0 =A0 =A0 =A0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 =A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0
=A0 =A0 =A0 =A0 =A0 RX bytes:0 (0.0 b) =A0TX bytes:0 (0.0 b)
--089e016351a6833bae04d9fc2e0c-- --===============3625726155594160299== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3625726155594160299==--