[ovs-dev] netlink, ovs-datapath

Joe Stringer joe at ovn.org
Sun Mar 4 20:25:48 UTC 2018


On 4 March 2018 at 00:31, Damo Brisbane <dhatchett2 at gmail.com> wrote:
> Hello;
>
> I am trying to do basic ovs but confused by vswitchd messages, could be
> platform issue, but having hard time trying to decipher. Am running 4.15.x
> kernel on gentoo, so going with latest github (openvswitch/ovs).
>
> Can fetch sources, run "./boot.sh && make && make install", no problem.
>
> Running ovsdb - the database path comes from other gentoo ovs installers
> (v2.8.1): /var/run/openvswitch
>
> Can anyone help enlighten me, what is the meaning of this,
> "..dpif_netlink|WARN|Generic Netlink family 'ovs_datapath' does not
> exist..."?.. ie I compiled packages, installed it, kernel recompile/reboot
> seems fine.
>
> Screendump
> ------------------
>
> /usr/sbin/ovs-vswitchd --pidfile --monitor --mlockall
> unix:/var/run/openvswitch/db.sock
> 2018-03-04T08:14:19Z|00001|ovs_numa|INFO|Discovered 8 CPU cores on NUMA
> node 0
> 2018-03-04T08:14:19Z|00002|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 CPU
> cores
> 2018-03-04T08:14:19Z|00003|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> connecting...
> 2018-03-04T08:14:19Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> connected
> 2018-03-04T08:14:19Z|00005|dpif_netlink|WARN|Generic Netlink family
> 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably
> not loaded.
> 2018-03-04T08:14:19Z|00006|dpif|WARN|failed to enumerate system datapaths:
> No such file or directory
> 2018-03-04T08:14:19Z|00007|dpif|WARN|failed to create datapath ovs-system:
> No such file or directory
> 2018-03-04T08:14:19Z|00008|ofproto_dpif|ERR|failed to open datapath of type
> system: No such file or directory
> 2018-03-04T08:14:19Z|00009|ofproto|ERR|failed to open datapath br0: No such
> file or directory
> 2018-03-04T08:14:19Z|00010|bridge|ERR|failed to create bridge br0: No such
> file or directory
> 2018-03-04T08:14:19Z|00011|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.9.90


Hi Damo,

The end of that line -- "The Open vSwitch kernel module is probably
not loaded" seems likely to be the culprit here. Running "make
install" from OVS will not provide the kernel module. This needs to
either be provided by the kernel as a module or built-in, or you need
to "make module_install".

For more information, see the general install guide:

http://docs.openvswitch.org/en/latest/intro/install/general/

Cheers,
Joe


More information about the dev mailing list