Discussion:
[ovs-discuss] OVS Warning - vport
MCGRATH, GIL
2014-10-14 16:18:18 UTC
Permalink
I am ?trying" to get OVS/DPDK running on ubuntu 14.04.

I do not have it working yet ? but I am getting the following message in ovs-vswitchd.log:

014-10-14T16:00:13.195Z|00011|netdev_linux|WARN|vlan4025: obtaining netdev stats via vport failed (No such device)

Anyone know what this is and what the fix may be?

? Gil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141014/d2e62ffe/attachment.html>
Alex Wang
2014-10-14 18:10:06 UTC
Permalink
Hey,

Could you provide more info on what you are trying to do?

Are you just trying to add a vlan interface?

Maybe provide the `ovs-vsctl show` output?

Thanks,
Alex Wang,
Post by MCGRATH, GIL
I am ?trying" to get OVS/DPDK running on ubuntu 14.04.
014-10-14T16:00:13.195Z|00011|netdev_linux|WARN|vlan4025: obtaining
netdev stats via vport failed (No such device)
Anyone know what this is and what the fix may be?
? Gil
_______________________________________________
discuss mailing list
discuss at openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141014/77908d63/attachment.html>
MCGRATH, GIL
2014-10-14 18:29:38 UTC
Permalink
Alex, et.al.

So it turns out that if I unload the openvswitch kernel modules the warning goes away.
I would this on the web page that explains it (I think):

"The *_get_stats functions call get_stats_via_vport(), which tries to get

information about ports attached to the kernel datapath. When a pure
userspace switch is used (eg, the OVS kernel module isn't loaded), ports
are not attached to a kernel datapath, so warnings get logged. This
commit handles that case and doesn't log a warning. However, if the
kernel datapath is loaded, ports attached to a userspace datapath will
still log a warning.


So without the kernel modules loaded I get the following error which is OK since I am using dpdk:


"2014-10-14T18:20:50.169Z|00011|dpif_netlink|ERR|Generic Netlink family 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not loaded."



? Gil


PS ? I still can not get OVS/DPDK working on ubuntu 14.04 ? I am at wits end. Anyone willing to help me?

From: Alex Wang <alexw at nicira.com<mailto:alexw at nicira.com>>
Date: Tuesday, October 14, 2014 at 2:10 PM
To: Gil McGrath <gm2391 at att.com<mailto:gm2391 at att.com>>
Cc: "discuss at openvswitch.org<mailto:discuss at openvswitch.org>" <discuss at openvswitch.org<mailto:discuss at openvswitch.org>>
Subject: Re: [ovs-discuss] OVS Warning - vport

Hey,

Could you provide more info on what you are trying to do?

Are you just trying to add a vlan interface?

Maybe provide the `ovs-vsctl show` output?

Thanks,
Alex Wang,

On Tue, Oct 14, 2014 at 9:18 AM, MCGRATH, GIL <gm2391 at att.com<mailto:gm2391 at att.com>> wrote:
I am ?trying" to get OVS/DPDK running on ubuntu 14.04.

I do not have it working yet ? but I am getting the following message in ovs-vswitchd.log:

014-10-14T16:00:13.195Z|00011|netdev_linux|WARN|vlan4025: obtaining netdev stats via vport failed (No such device)

Anyone know what this is and what the fix may be?

? Gil


_______________________________________________
discuss mailing list
discuss at openvswitch.org<mailto:discuss at openvswitch.org>
http://openvswitch.org/mailman/listinfo/discuss


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141014/6d719815/attachment-0001.html>
Loading...