On 01/15/15 at 01:41pm, Joe Stringer wrote:
> I'm running OVS master (afc3987) with the net-next kernel module
> (4e7a84b), and if I run ovs-dpctl I sometimes get the following error:
> 
> dpif|WARN|failed to enumerate system datapaths: Protocol error
> 
> I made some local changes to OVS lib/netlink* to get a little more
> useful information; it seems to be coming from the netlink
> deserialization for getting the vport genetlink family from the
> kernel. The error is that OVS userspace expects to see another
> 20 bytes beyond what it is given. I haven't had a chance to really
> dig into this yet.
> 
> Problem is intermittent, but seems to happen more reliably when the
> kmod was recently loaded.
> 
> I thought it may be related to the recent vxlan changes, but it goes
> back at least as far as the PACKET_ATTR_PROBE changes (1ba3980), and
> likely further back than that. Sending out this message in case it
> sounds familiar to anyone.

Couldn't trigger it myself so far.

A neat way to trace Netlink messages and pretty print them to stderr
is to run ovs-switchd with nltrace:
https://github.com/socketpair/nltrace
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to