[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen 3.4.1-rc7 network problem (vif/tap)
Maybe here is an interesting part : The script is just waiting at : [2009-07-22 19:30:22 4325] DEBUG (DevController:139) Waiting for devices vif. [2009-07-22 19:30:22 4325] DEBUG (XendDomainInfo:1709) XendDomainInfo.handleShutdownWatch [2009-07-22 19:30:22 4325] DEBUG (DevController:144) Waiting for 0. [2009-07-22 19:30:22 4325] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. If I look closer into /usr/local/lib/python2.6/dist-packages/xen/xend/server/DevController.py after line 629, there is a call to xstransact.Read(statusPath) that never answers. FranÃois. ----- Original Message ----- From: xensource@xxxxxxxxxx To: xen-users@xxxxxxxxxxxxxxxxxx Sent: Wednesday, 22 July, 2009 19:08:03 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [Xen-users] Xen 3.4.1-rc7 network problem (vif/tap) Well, I had exactly the same problem by configuring the bridge with the provided network-bridge script or externally through the ubuntu /etc/network/interfaces parameters, and with both eth0 and xenbr0 default bridge interface name. I just reverted back to eth0 as default bridge name, and network-bridge script executing at the xend init script. So, after a fresh reboot I have only eth0 up with the dhcp configured address. After starting /etc/init.d/xend, everything is OK, and the bridge is correctly configured : root@UbuntuTST-Blade:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:21:5e:96:07:94 inet addr:172.17.4.46 Bcast:172.17.4.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:73 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4552 (4.5 KB) TX bytes:3358 (3.3 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:140 errors:0 dropped:0 overruns:0 frame:0 TX packets:140 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12068 (12.0 KB) TX bytes:12068 (12.0 KB) peth0 Link encap:Ethernet HWaddr 00:21:5e:96:07:94 UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:72 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5868 (5.8 KB) TX bytes:3760 (3.7 KB) Interrupt:30 Memory:92000000-92012800 root@UbuntuTST-Blade:~# brctl show bridge name bridge id STP enabled interfaces eth0 8000.00215e960794 no peth0 After starting the domU, the xm create just hangs, and the domU stays in paused state for 1m40s : root@UbuntuTST-Blade:~# brctl show bridge name bridge id STP enabled interfaces eth0 8000.00215e960794 no peth0 tap1.0 root@UbuntuTST-Blade:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:21:5e:96:07:94 inet addr:172.17.4.46 Bcast:172.17.4.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3795 errors:0 dropped:0 overruns:0 frame:0 TX packets:808 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:230414 (230.4 KB) TX bytes:117990 (117.9 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:232 errors:0 dropped:0 overruns:0 frame:0 TX packets:232 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:20640 (20.6 KB) TX bytes:20640 (20.6 KB) peth0 Link encap:Ethernet HWaddr 00:21:5e:96:07:94 UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:3947 errors:0 dropped:0 overruns:0 frame:0 TX packets:966 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:314792 (314.7 KB) TX bytes:135314 (135.3 KB) Interrupt:30 Memory:92000000-92012800 tap1.0 Link encap:Ethernet HWaddr 62:0f:06:f9:c4:d0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:0 (0.0 B) TX bytes:3434 (3.4 KB) root@UbuntuTST-Blade:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 31853 16 r----- 32.8 XPTST1 1 1024 1 --p--- 0.0 root@UbuntuTST-Blade:~# At this step, if I manually unpause the domain, and cancel the xm create comand to avoid it to destroy the domU after timeout, the domU starts and the network is working. If I just wait, the domU will be destroyed after timeout, and the tap interface will be removed from the bridge. So, it really seems to come from the vif-bridge script, but how can I debug it ? Which arguments are passed to it ? root@UbuntuTST-Blade:~# cat /etc/network/interfaces | grep -v '^#\|^$' auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp root@UbuntuTST-Blade:~# root@UbuntuTST-Blade:~# cat /etc/xen/XPTST1 | grep -v '^#\|^$' import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 1024 shadow_memory = 8 name = "XPTST1" vif = [ '' ] disk = [ 'file:/localstorage/XPTST1.img,hda,w', 'file:/localstorage/install/WindowsXP-Pro-32.iso,hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="dc" sdl=0 vnc=1 vncconsole=1 stdvga=0 serial='pty' usbdevice='tablet' root@UbuntuTST-Blade:~# ----- Original Message ----- From: "Boris Derzhavets" <bderzhavets@xxxxxxxxx> To: xen-users@xxxxxxxxxxxxxxxxxxx, xensource@xxxxxxxxxx Sent: Wednesday, 22 July, 2009 17:57:23 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [Xen-users] Xen 3.4.1-rc7 network problem (vif/tap)
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |