qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qemu-s390x] [BUG]Guest crashed when detaching the ovs interface dev


From: Cornelia Huck
Subject: Re: [qemu-s390x] [BUG]Guest crashed when detaching the ovs interface device
Date: Wed, 27 Feb 2019 13:35:48 +0100

On Fri, 15 Feb 2019 15:58:36 +0800
Xiao Feng Ren <address@hidden> wrote:

> Hi,
>       There's one bug that I have opened on launchpad 
> https://bugs.launchpad.net/ubuntu-z-systems/+bug/1812822 when detaching 
> one openvswitch interface device with virsh detach-device on Ubuntu.  
> The virsh detach-device will fail with "error: Unable to read from 
> monitor: Connection reset by peer", the qemu is terminated and the log 
> shows " UNSETVNETLE ioctl() failed, File descriptor in bad state".
> I have tested and reproduced the problem with the latest QEMU3.1.0.
> The recent version of the softwrae stack from Disco:
> qemu-system-s390x : QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-2ubuntu1)

Can you also reproduce this with plain QEMU from git? Preferably,
current git master?

> libvirtd : libvirtd (libvirt) 5.0.0
> openvswitch: ovs-vsctl (Open vSwitch) 2.11.0 DB Schema 7.16.1
> Distributor: Ubuntu Disco Dingo(development branch)
> Linux  server 4.19.0-12-generic #13-Ubuntu SMP
> Reproduced:
> # ovs-vsctl show
> 35a1bfef-f7bb-41ee-bb8c-5cd18aeb6015
> Bridge "br0"
> Port "tap9273235a-dd"
> Interface "tap9273235a-dd"
> Port "br0"
> Interface "br0"
> type: internal
> ovs_version: "2.11.0"
> # ip link show dev tap9273235a-dd
> 13: tap9273235a-dd: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc 
> fq_codel master ovs-system state UNKNOWN mode DEFAULT group default qlen 
> 1000
> link/ether fe:54:00:fb:5c:46 brd ff:ff:ff:ff:ff:ff
> address@hidden:~# ovs-vsctl del-port br0 tap9273235a-dd
> address@hidden:~# ovs-vsctl show
> 35a1bfef-f7bb-41ee-bb8c-5cd18aeb6015
> Bridge "br0"
> Port "br0"
> Interface "br0"
> type: internal
> ovs_version: "2.11.0"
> # ip link show dev tap9273235a-dd
> 13: tap9273235a-dd: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc 
> fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
> link/ether fe:54:00:fb:5c:46 brd ff:ff:ff:ff:ff:ff
> # ip link del tap9273235a-dd
> # ip link show dev tap9273235a-dd
> Device "tap9273235a-dd" does not exist.
> # virsh list
> Id Name State
> ----------------------
> 2 kvm running
> # virsh detach-device kvm net.xml
> error: Failed to detach device from net.xml
> error: Unable to read from monitor: Connection reset by peer
> The qemu has terminated and the log in /var/log/libvirt/qemu/kvm.log

Is there a core file created? If yes, any chance you could point a gdb
at it and run 'thread apply all bt'?

> TUNSETVNETLE ioctl() failed: File descriptor in bad state.
> 2019-02-15 06:38:04.200+0000: shutting down, reason=crashed
> net.xml <interface type='bridge'> <mac address='52:54:00:fb:5c:46'/> 
> <source bridge='br0'/> <virtualport type='openvswitch'> <parameters? 
> interfaceid='9273234d-9ad4-4ecf-8869-d63ac17a0e6d'/> </virtualport> 
> <target dev='tap9273235a-dd'/> <model type='virtio'/> <mtu size='1450'/> 
> <alias name='net1'/> <address type='ccw' cssid='0xfe' ssid='0x0' 
> devno='0x0005'/> </interface>  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]