[ovs-discuss] userspace datapath (for MPLS and VLAN tagging) seems to be broken in 2.3.1

Andrei Manescu andrei.manescu at ivorde.ro
Sat Feb 21 00:55:28 UTC 2015


The issue was on 3.10.0-7-pve kernel. After reverting to standard 2.6.32, the problem seems to be gone.

Strange.
Should this still be treated by OVS or proxmox bug ? (the host is proxmox 3.4).


Thanks.
Andrei
> On 21 Feb 2015, at 01:07, Andrei Manescu <andrei.manescu at ivorde.ro> wrote:
> 
> Hello list,
> 
> Just started using openvswitch and ran either into a bug or I am missing something. According to various mailing list emails, MPLS label operations are available in userspace datapath. To configure a vswitch in the userspace DP, it needs to be set as a “netdev”, but after doing so, all vswitch operational commands fail with "br0 is not a bridge or a socket”. 
> 
> Found a similar report from back in October: http://openvswitch.org/pipermail/discuss/2014-October/015138.html <http://openvswitch.org/pipermail/discuss/2014-October/015138.html>, but I can’t find if the specified commit made it into 2.3.1 or this is a regression bug.
> 
> Here is the sequence of commands to reproduce (same error for ovs-ofctl add-flow):
> 
> root at pve:~# ovs-vsctl -V
> ovs-vsctl (Open vSwitch) 2.3.1
> Compiled Dec 27 2014 11:00:30
> DB Schema 7.6.2
> 
> root at pve:~# ovs-vsctl del-br br0
> root at pve:~# ovs-vsctl add-br br0
> root at pve:~# ovs-vsctl add-port br0 eth1
> root at pve:~# ovs-vsctl add-port br0 tap100i0
> root at pve:~# ovs-ofctl show br0
> OFPT_FEATURES_REPLY (xid=0x2): dpid:0000000c29e93542
> n_tables:254, n_buffers:256
> capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
> actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
>  1(eth1): addr:00:0c:29:e9:35:42
>      config:     0
>      state:      0
>      current:    1GB-FD COPPER AUTO_NEG
>      advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
>      supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
>      speed: 1000 Mbps now, 1000 Mbps max
>  2(tap100i0): addr:ae:6f:8b:e7:50:3a
>      config:     0
>      state:      0
>      current:    10MB-FD COPPER
>      speed: 10 Mbps now, 0 Mbps max
>  LOCAL(br0): addr:00:0c:29:e9:35:42
>      config:     PORT_DOWN
>      state:      LINK_DOWN
>      speed: 0 Mbps now, 0 Mbps max
> OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
> root at pve:~# ovs-vsctl set bridge br0 datapath_type=netdev
> root at pve:~# ovs-ofctl show br0
> ovs-ofctl: br0 is not a bridge or a socket
> 
> Regards,
> Andrei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150221/8122310a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4154 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150221/8122310a/attachment.p7s>


More information about the discuss mailing list