[Bug 458967] New: 11.1-RC1 x86_64/xen: Network issue in winxp vm
https://bugzilla.novell.com/show_bug.cgi?id=458967 Summary: 11.1-RC1 x86_64/xen: Network issue in winxp vm Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Windows XP Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: terje@nordland-teknikk.no QAContact: qa@suse.de Found By: --- While the VM console (VNC viewer) on dom0 works to open a winxp vm, connecting with rdesktop has not succeeded do to what looks like a network issue in winxp vm. ifconfig on the hostOS dom0 shows ip-adr ip 192.xx.xx.105 using DHCP from the ISP provider. Running ipconfig on winxp vm at first shows ip_asr 0.0.0.0, but after some time shows ip_adr 169.254.213.16 However winxp vm doesn't reply trying to ping 169.254.213.16 from dom0. The opposite neither reply using ping 192.xx.xx.105. Therefore it looks like 169.254.213.16 is only fake ip adr. Have also tried to disable firewalls both on Suse and Winxp. After starting the winxp vm the following output is shown in a terminal on Suse dom0: # brctl show bridge name bridge id STP enabled interfaces pan0 8000.be3ca7662757 no tap1.0 vif1.0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User wkong@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c1
wei kong
https://bugzilla.novell.com/show_bug.cgi?id=458967
Jason Douglas
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c2
James Fehlig
After starting the winxp vm the following output is shown in a terminal on Suse dom0:
# brctl show bridge name bridge id STP enabled interfaces pan0 8000.be3ca7662757 no tap1.0 vif1.0
Hmm, what is the pan0 device? Could you provide its configuration, e.g. cat /etc/sysconfig/network/ifcfg-pan0? It's certainly a bridge since listed by brctl, however it does not have a "physical interface" attached. There is no host device attached to the bridge, allowing access to external network. Also, jfyi, you can use network-bridge as Kong suggested in comment #1 - but keep in mind its use is deprecated. Starting with openSUSE11.1 and SLE11, it is preferred to create/manage bridges via YaST. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c3
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c4
James Fehlig
First, as information, the network was configured automatic with NetworkManager
Ah, that's your problem. Bridging does not work with NetworkManager - bug#241618.
I will suggest and would expect (as surely normal users also) that the network(bridge) also was configured,
And it is - when not using NetworkManager.
Re: comment #2, to reply this first: ------------------------------------ # cat /etc/sysconfig/network/ifcfg-pan0 cat: /etc/sysconfig/network/ifcfg-pan0: No such file or directory
Right, interface is under NetworkManager control so no sysconfig config file.
Regarding 'tap1.0',
tap1.0 is a tap device for emulated nic. vif1.0 is tap device for pv nic. It is normal to see both - driver and/or configuration in guest can determine which to use. The problem you are seeing is bug #241618. Try using "Tradition Method: ifup" instead of NetworkManager. You'll probably have to configure a bridge manually though, but this is easy using yast2-network. If that works for you, we can close this bug as duplicate. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c5
Terje J. Hanssen
Try using "Tradition Method: ifup" instead of NetworkManager. You'll probably have to configure a bridge manually though, but this is easy using yast2-network.
I have now run YaST | NetworkDevices with "ifub", which installed a package from the dvd media. A normal Internet connection works with eth0 However, trying to open and run the VM Manager | winxp vm guest, it didn't work and the following error message box arised: Error starting domain: POST-operasjon feilet: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Could not find bridge device pan0') Details: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 485, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 379, in startup self.vm.create() File "/usr/lib64/python2.6/site-packages/libvirt.py", line 262, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: POST-operasjon feilet: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Could not find bridge device pan0') -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c6
James Fehlig
(xend.err 'Device 0 (vif) could not be connected. Could not find bridge device pan0')
It looks like your vm config has pan0 specified for bridge device name. Change that to be br0, or whatever you have called your bridge. E.g. vif=[ 'mac=aa:bb:cc:dd:ee:ff,bridge=br0', ] You have a working bridge device correct? What is output of 'brctl show' after configuring "Traditional Networking" and your bridge device? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c7
Terje J. Hanssen
Change that to be br0, or whatever you have called your bridge.
I havent't called the bridge anything, the installation has ;) yes, it was: linux-2689:/etc/xen/vm # cat windowsxp-1 | grep vif vif=[ 'mac=00:16:3e:1b:c4:a9,bridge=pan0,model=rtl8139', ] now after change: linux-2689:/etc/xen/vm # cat windowsxp-1 |grep vif vif=[ 'mac=00:16:3e:1b:c4:a9,bridge=br0,model=rtl8139', ] Now the winxp vm can be opened and run again. But it still doesn't look to receive a real ip_adr, first 0.0.0.0 and lastly a fake one after timeout(?) terje@linux-2689:~> ping 169.254.213.16 PING 169.254.213.16 (169.254.213.16) 56(84) bytes of data.
From 192.xx.xx.105: icmp_seq=1 Destination Host Unreachable
What is output of 'brctl show' after configuring "Traditional Networking" and your bridge device?
linux-2689:/etc/xen/vm # brctl show bridge name bridge id STP enabled interfaces pan0 8000.be5adc7c2e44 no tap1.0 vif1.0 # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:1E:EC:24:DA:60 inet addr:192........... lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 ...... pan0 Link encap:Ethernet HWaddr BE:5A:DC:7C:2E:44 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) tap1.0 Link encap:Ethernet HWaddr BE:5A:DC:7C:2E:44 inet6 addr: fe80::bc5a:dcff:fe7c:2e44/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:68 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:12767 (12.4 Kb) TX bytes:468 (468.0 b) vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:6 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) wlan0 Link encap:Ethernet HWaddr 00:1F:3B:15:1E:D5 inet6 addr: fe80::21f:3bff:fe15:1ed5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:940 errors:0 dropped:0 overruns:0 frame:0 TX packets:307 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:340131 (332.1 Kb) TX bytes:108936 (106.3 Kb) wmaster0 Link encap:UNSPEC HWaddr 00-1F-3B-15-1E-D5-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c8
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c9
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User wkong@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c10
--- Comment #10 from wei kong
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jdouglas@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c11
--- Comment #11 from Jason Douglas
https://bugzilla.novell.com/show_bug.cgi?id=458967
User claudiu@virtuamagic.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c12
Claudiu Cismaru
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c13
James Fehlig
I have a similar problem. I upgraded from openSUSE 11.0 (where EVERYTHING worked fined) to openSUSE 11.1 (boot with net x64 disk, choose upgrade etc) and now I don't have network for hvm machines :( .. WindowsXP1 it's the only hvm machine. xpower:~# brctl show bridge name bridge id STP enabled interfaces eth0 8000.001d0905cb77 no peth0 vif1.0 vif17.0 vif3.0 vif8.0 vif9.0
There should be a tap device associated with that vm, e.g. tap9.0. Is that vm
using pv drivers? Also can you provide the configuration file for the vm and
output of 'ip route list'. Finally, /var/log/xen/qemu-dm-
https://bugzilla.novell.com/show_bug.cgi?id=458967
User claudiu@virtuamagic.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c14
Claudiu Cismaru
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c15
--- Comment #15 from James Fehlig
But the interesting part is that the paravirtualized machines WORK with "bridghe=xenbr0"!!! That's why I didn't knew where to start to debug my problem...
The vif script used for PV guests can access xenstore and read bridge info from there. vif script for HVM guests do not have this luxury and use the device with default route (assuming it is a bridge device) when bridge is not specified. In your case, bridge was specified - but one that does not exist. This used to work because HVM vif script would try ethX when xenbrX was specified but non-existent. The script was changed in openSUSE11.1/SLES11 since we no longer use network-bridge by default.
I want to try to configure in xend-config a bridge name and use it in all domU configuration files...
I would suggest not using network-bridge and use YaST to configure bridge instead. Then set bridge name in all domU config files to the bridge name you used in YaST. network-bridge can be disabled in xend-config.sxp with (network-script ) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User claudiu@virtuamagic.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c16
--- Comment #16 from Claudiu Cismaru
This used to work because HVM vif script would try ethX when xenbrX was specified but non-existent. The script was changed in openSUSE11.1/SLES11 since we no longer use network-bridge by default.
I see, now...
I would suggest not using network-bridge and use YaST to configure bridge instead. Then set bridge name in all domU config files to the bridge name you used in YaST.
I'll do this.
network-bridge can be disabled in xend-config.sxp with (network-script )
Why? It detects the bridge from network configuration? Or why have to disable it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c17
--- Comment #17 from James Fehlig
network-bridge can be disabled in xend-config.sxp with (network-script )
Why? It detects the bridge from network configuration? Or why have to disable it?
The network-bridge script manipulates the network configuration unbeknownst to
sysconfig, which causes several problems. E.g. try doing 'rcnetwork restart'
when using network-bridge. You'll find that your network is trashed
afterwards.
When creating bridges via YaST, a proper
/etc/sysconfig/network/ifcfg-
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c18
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=458967
User claudiu@virtuamagic.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c19
--- Comment #19 from Claudiu Cismaru
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c20
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c21
--- Comment #21 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c22
--- Comment #22 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c23
--- Comment #23 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
Jason Douglas
https://bugzilla.novell.com/show_bug.cgi?id=458967
Jason Douglas
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c24
James Fehlig
Sorry, I have not got the network to work and I'm not authorised to access the mentioned bug #432747.
Well, it just says we need to have the change from network-bridge to new configuration via YaST documented. You wouldn't find anything useful in the bug. Looking at your attachments it seems the problem is that eth0 is configured to get and address (DHCP). The interface connected to the bridge should not be configured at all. Please delete the configuration associated with eth0 and see if that solves your problem. There's a wiki entry that describes how the new bridge configuration in YaST worked on openSUSE11.0. Most if it applies to 11.1 with exception of "all devices you want to have in bridge should be configured with bootproto=static, ipaddress=0.0.0.0 and netmask=255.255.255.255". On 11.1, simply deleting any configuration associated with the device should suffice. http://en.opensuse.org/YaST/Network/11.0-bridge Try this and let me know if it solves your problem. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c25
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c26
--- Comment #26 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c27
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=458967
User terje@nordland-teknikk.no added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c28
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=458967
User jfehlig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458967#c29
James Fehlig
participants (1)
-
bugzilla_noreply@novell.com