[ovs-dev] Bug#763428: openvswitch-switch: openvswitch doesn't work anymore since kernel 3.16 update

Mehdi Abaakouk sileht at sileht.net
Wed Oct 8 13:17:56 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi, I have retrying from the beginning with a empty ovs database and the 
ovs module unloaded


root at g3:/var/lib/openvswitch dpkg -l | grep openvswitch
ii  neutron-plugin-openvswitch-agent 2014.1.2-1                       
all          OpenStack virtual network service - Open vSwitch agent
ii  openvswitch-common               2.3.0+git20140819-2              
amd64        Open vSwitch common components
ii  openvswitch-switch               2.3.0+git20140819-2              
amd64        Open vSwitch switch implementations

root at g3:/var/lib/openvswitch# uname -a
Linux g3 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 
GNU/Linux

root at g3:/var/lib/openvswitch# modinfo openvswitch
filename:       
/lib/modules/3.16-2-amd64/kernel/net/openvswitch/openvswitch.ko
license:        GPL
description:    Open vSwitch switching datapath
depends:        libcrc32c,vxlan,gre
intree:         Y
vermagic:       3.16-2-amd64 SMP mod_unload modversions


root at g3:/var/lib/openvswitch# /etc/init.d/openvswitch-switch start
[  382.897893] openvswitch: Open vSwitch switching datapath
Inserting openvswitch module.
/etc/openvswitch/conf.db does not exist ... (warning).
Creating empty database /etc/openvswitch/conf.db.
Starting ovsdb-server.
Configuring Open vSwitch system IDs.
Starting ovs-vswitchd.
Enabling remote OVSDB managers.
root at g3:/var/lib/openvswitch# ovs-vsctl add-br br-eth0
[  387.549586] device ovs-system entered promiscuous mode
[  387.551218] openvswitch: netlink: Unknown key attribute (type=20, 
max=19).
[  387.553223] openvswitch: netlink: Unknown key attribute (type=62, 
max=19).
[  387.568880] device br-eth0 entered promiscuous mode

I still have this errors when I create the bridge

root at g3:/var/lib/openvswitch# ovs-vsctl add-port  br-eth0 eth0
[ 2279.939240] device eth0 entered promiscuous mode


root at g3:/var/lib/openvswitch# ip link set eth0 up
root at g3:/var/lib/openvswitch# ip link set br-eth0 up


# ovs-vsctl show
321f5ebc-adf4-4fe5-ab2c-5ccca143f366
     Bridge "br-eth0"
         Port "eth0"
             Interface "eth0"
         Port "br-eth0"
             Interface "br-eth0"
                 type: internal
     ovs_version: "2.3.0"


But this bridge doesn't works. I test by just setting a ip on br-eth0 
and pinging an other machine on the same lan.

The same manipulation with kernel (with builtin ovs module) 3.14 and ovs 
(userland) 2.3.0 and I have no error message and the bridge works.

Tell me if you need a particular command output.

- - ---
Mehdi Abaakouk
mail: sileht at sileht.net
irc: sileht


Le 2014-10-07 22:52, Ben Pfaff a écrit :
> On Tue, Sep 30, 2014 at 10:20:31AM +0200, Mehdi Abaakouk wrote:
>> Package: openvswitch-switch
>> Version: 2.3.0+git20140819-2
>> Severity: important
> 
>> Since the update of kernel in jessie to 3.16, my openvswitch setups
>> won't work anymore, I have to keep the kernel 3.14 to have
>> openvswitch working.
> 
> That isn't a very helpful bug report, can you please give us more
> information?  Open vSwitch should work fine with Linux 3.16, using the
> kernel module that accompanies the kernel.

-----BEGIN PGP SIGNATURE-----
Version: OpenPGP.js v.1.20131017
Comment: http://openpgpjs.org

wsFcBAEBCAAQBQJUNTmDCRAYkrQvzqrryAAAwjEQAKldY3FY3OA+BnCmE3DO
I7AtsRT6iv4i5Jcbwo4t0qYBJ/P/usldKdx2EveCbzYqVpGuF9/uJpw5/S9k
b9HVUnHFldFo7IV9sjjkwPNUEJ9SsduWePpT7j3W9NxPeVxa4Mnf62qO1tks
zLAtnemnh0d7Sk5ekXYNWOrzELLshTvlhoX6ISIn0cBFW8UE5G1yegPzfNFE
sb33hmf05bQMOK9Rlrm6+r3VbESi86YV4Iri1kOp7qmigEuSOWajeK3sv6n+
PjOMYyel58F0QPUfLR+O45ld2/K4bG81QeQACylpyb2P4rC3Z2ySPpl3pbwf
hwcSUfXuEm2NF6TTqISj6oNc+A4JoLjzFlIMRuqYgWLiQPxEmjgI9ez1L+Fb
XfLIfAFm+NfyR9rdLK3xmslzKT+lfREcK5crLzXbHamWgGACF75VGuNtNx6x
kj89uhs7QJHOeyflfa5Cxz9KieaWQJ+XgE+I9+cgHwa+bkBMpCmEucfbfK1T
udOEqCmGWtMUtkrd/Gn1lCN5c82DEOiG7kDcXk196tF2qXyp+2TzEVXGcuXJ
3+PbiqZQ3hdoqrG1NC/MAGyMDr6USNAH77QcPXLqg4RIh4W+jMupmlvuRiAm
K4z3fTP3Hb9MUHU7IYBCVfkGN/6IjmRlDXPY7Mw4l4uJ/ODjZVaDYmu0sYJE
Wytt
=1i7r
-----END PGP SIGNATURE-----



More information about the dev mailing list