[Bug 1172091] Re: KVM guests with bridged network drops out intermittently
Dyson Simmons
dysonsimmons at gmail.com
Mon Apr 29 05:33:41 UTC 2013
Apologies Serge, I wasn't sure how upstream you wanted me to go.
after installing a few new dependencies I compiled 1.4.1 with:
./configure '--target-list=x86_64-softmmu i386-softmmu x86_64-linux-user
i386-linux-user' '--prefix=/usr' '--with-confsuffix=/qemu' '--
datadir=/usr/share' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--extra-cflags=-g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall' '--extra-
ldflags=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--disable-strip'
'--disable-xen' '--disable-guest-agent' '--audio-drv-
list=pa,alsa,sdl,oss' '--enable-docs' '--audio-card-list=ac97 es1370
sb16 cs4231a adlib gus hda' '--enable-attr' '--enable-bluez' '--enable-
brlapi' '--enable-curl' '--enable-curses' '--disable-libiscsi'
'--enable-linux-aio' '--disable-opengl' '--enable-rbd' '--enable-sdl'
'--disable-smartcard-nss' '--enable-uuid' '--disable-usb-redir'
'--enable-vhost-net' '--enable-virtfs' '--enable-vnc' '--enable-vnc-
jpeg' '--enable-vnc-png' '--enable-vnc-sasl' '--enable-vnc-tls'
'--enable-xfsctl' '--enable-kvm' '--disable-blobs'
('--disable-smartcard' is no longer an option)
And I still have the same issue.
I also grabbed the head of master which was commit
903ce9fefacd828bbcadd656ddaed8984139be29 and compiled with:
./configure '--target-list=x86_64-softmmu i386-softmmu x86_64-linux-user
i386-linux-user' '--prefix=/usr' '--with-confsuffix=/qemu' '--
datadir=/usr/share' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--extra-cflags=-g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall' '--extra-
ldflags=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--disable-strip'
'--disable-xen' '--disable-guest-agent' '--audio-drv-
list=pa,alsa,sdl,oss' '--enable-docs' '--audio-card-list=ac97 es1370
sb16 cs4231a adlib gus hda' '--enable-attr' '--enable-bluez' '--enable-
brlapi' '--enable-curl' '--enable-curses' '--disable-libiscsi'
'--enable-linux-aio' '--enable-rbd' '--enable-sdl' '--disable-smartcard-
nss' '--enable-uuid' '--disable-usb-redir' '--enable-vhost-net'
'--enable-virtfs' '--enable-vnc' '--enable-vnc-jpeg' '--enable-vnc-png'
'--enable-vnc-sasl' '--enable-vnc-tls' '--enable-xfsctl' '--enable-kvm'
'--disable-blobs'
('--disable-smartcard' '--disable-opengl' options are removed)
and still have the same issue.
I set up two scripts to get he output you wanted when it happens:
------
#!/bin/bash
while true
do
ping -c 1 -W 1 203.0.141.2 > /dev/null 2>&1
if [[ $? != 0 ]]; then
ifconfig -a && brctl show && arp -n && netstat -nr
exit
fi
sleep 0.1
done
and
#!/bin/bash
ssh 203.0.141.2
if [[ $? != 0 ]]; then
ifconfig -a && brctl show && arp -n && netstat -nr
fi
Both reported the following
------
br0 Link encap:Ethernet HWaddr 00:1e:4f:42:aa:69
inet addr:10.10.0.201 Bcast:10.10.15.255 Mask:255.255.240.0
inet6 addr: fe80::21e:4fff:fe42:aa69/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2225252 errors:0 dropped:0 overruns:0 frame:0
TX packets:1389419 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:347475536 (347.4 MB) TX bytes:147700625 (147.7 MB)
br1 Link encap:Ethernet HWaddr 00:1e:4f:42:aa:6b
inet6 addr: fe80::21e:4fff:fe42:aa6b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11811 errors:0 dropped:27 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:756422 (756.4 KB) TX bytes:468 (468.0 B)
eth0 Link encap:Ethernet HWaddr 00:1e:4f:42:aa:69
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2298888 errors:0 dropped:0 overruns:0 frame:0
TX packets:1389576 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:407088907 (407.0 MB) TX bytes:153271703 (153.2 MB)
eth1 Link encap:Ethernet HWaddr 00:1e:4f:42:aa:6b
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1283178 errors:0 dropped:0 overruns:0 frame:0
TX packets:1276863 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:129082162 (129.0 MB) TX bytes:142149086 (142.1 MB)
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:19 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:1450 (1.4 KB) TX bytes:1450 (1.4 KB)
vnet0 Link encap:Ethernet HWaddr fe:54:00:95:c1:f5
inet6 addr: fe80::fc54:ff:fe95:c1f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1264992 errors:0 dropped:0 overruns:0 frame:0
TX packets:1264521 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:133689131 (133.6 MB) TX bytes:122494875 (122.4 MB)
bridge name bridge id STP enabled interfaces
br0 8000.001e4f42aa69 no eth0
br1 8000.001e4f42aa6b no eth1
vnet0
Address HWtype HWaddress Flags Mask Iface
10.10.0.1 ether 00:03:ba:c6:51:0a C br0
10.10.4.78 ether c4:2c:03:09:4a:9a C br0
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.10.0.1 0.0.0.0 UG 0 0 0 br0
10.10.0.0 0.0.0.0 255.255.240.0 U 0 0 0 br0
The above is also what is reported under normal operation.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1172091
Title:
KVM guests with bridged network drops out intermittently
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1172091/+subscriptions
More information about the Ubuntu-server-bugs
mailing list