Bug 1372379 - KVM Guest with bridge network driver loses network connectivity
Summary: KVM Guest with bridge network driver loses network connectivity
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: jason wang
QA Contact: weliao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-01 14:28 UTC by Edu Alcaniz
Modified: 2016-12-26 07:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-26 07:29:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Edu Alcaniz 2016-09-01 14:28:01 UTC
Description of problem:
Images lost connectivity with bridge start VMs


Version-Release number of selected component (if applicable):
RHEL 7.2

[root@kvm02 log]# rpm -qa | grep kvm
libvirt-daemon-kvm-1.2.17-13.el7_2.5.x86_64
qemu-kvm-common-1.5.3-105.el7_2.7.x86_64
qemu-kvm-1.5.3-105.el7_2.7.x86_64

root@kvm02 log]# uname -an
Linux kvm02.tam.local 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:


Steps to Reproduce:
1. VMs associate to bridge created in OS
2. Start VMs, after start 3 vms
3. Connectivity go down

Sep 01 15:25:51 kvm02.tam.local kernel: br1: port 1(enp5s0) entered disabled state
 Sep 01 15:25:51 kvm02.tam.local kernel: device enp5s0 left promiscuous mode
Sep 01 15:25:42 kvm02.tam.local kernel: br1: port 2(vnet0) entered disabled state
Sep 01 15:25:42 kvm02.tam.local kernel: br1: port 1(enp5s0) entered disabled state

Actual results:
Bridge go down

Expected results:
VMs don't lose connectivity when use linux bridge


Additional info:

Comment 1 Edu Alcaniz 2016-09-01 14:30:37 UTC
I found a couple of bugs but my kernel is updated

https://bugzilla.kernel.org/show_bug.cgi?id=42829

Comment 4 Edu Alcaniz 2016-09-06 10:22:47 UTC
I tried to configure Openvswitch and neither, I have the same issue.

Network card
[root@kvm03 qemu]# ethtool -i enp5s0
driver: r8169
version: 2.3LK-NAPI
firmware-version: rtl8168e-3_0.0.4 03/27/12
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no



[root@kvm03 qemu]# lshw -class network
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 06
       serial: 00:13:3b:0f:bd:bb
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:125 ioport:e000(size=256) memory:d0104000-d0104fff memory:d0100000-d0103fff

Comment 5 jason wang 2016-12-26 04:44:26 UTC
Hi:

Several questions:

- Can you reproduce the issue for refent qemu-kvm/kernel?
- What's the qemu cli or libvirt XML for launching guest?

Thanks

Comment 6 Edu Alcaniz 2016-12-26 07:29:46 UTC
(In reply to jason wang from comment #5)
> Hi:
> 
> Several questions:
> 
> - Can you reproduce the issue for refent qemu-kvm/kernel?
> - What's the qemu cli or libvirt XML for launching guest?
> 
> Thanks

Hi, it seems the issue was a hardware. 
Nic are not allowed to use virtualisation


Note You need to log in before you can comment on or make changes to this bug.