[ovs-discuss] 0VS on Win 10 - "failed to enumerate system datapaths"

Alin Serdean aserdean at cloudbasesolutions.com
Tue Nov 13 12:02:54 UTC 2018

You can also build an MSI that you can deploy to targets for convenience.

To build the MSI you can issue:
`make windows_installer`

As a prerequisite you also need http://wixtoolset.org/releases/ installed
before issuing the command above.

I’ll try to send a PR to update the documentation.

De la: ovs-discuss-bounces at openvswitch.org <ovs-discuss-bounces at openvswitch.org> În numele Boris Ouretskey
Trimis: Monday, November 12, 2018 12:15 AM
Către: ovs-discuss at openvswitch.org
Subiect: [ovs-discuss] 0VS on Win 10 - "failed to enumerate system datapaths"


Still struggling to get the ovs working on OVS windows 10.

Firstly I would like to ask the question, do I have to have hyper-v feature enabled even if I am not gonna run virtual machine but use ovs only within host machine.
[Alin Serdean] I’m not sure I follow, what are you trying to achieve?
You need to enable hyper-v/container feature wherever you want to use
the OVS windows datapath.

After compilation and install that what I get:-

C:\Users\...> ovs-dpctl show
2018-11-11T21:56:32Z|00001|dpif_netlink|INFO|The kernel module does not support meters.
2018-11-11T21:56:32Z|00002|netlink_socket|ERR|fcntl: The system cannot find the file specified.
2018-11-11T21:56:32Z|00003|dpif|WARN|failed to enumerate system datapaths: Invalid argument
[Alin Serdean] That means the extension is not installed or not enabled. Please follow the steps from:

C:\Users\...> ovs-vsctl add-br br-int
ovs-vsctl: Error detected while setting up 'br-int'.  See ovs-vswitchd log for details.
ovs-vsctl: The default log directory is "C:/openvswitch/var/log/openvswitch".
[Alin Serdean] Same as above.

C:\Users\...>ovs-vswitchd -vfile:info --log-file --pidfile
2018-11-11T22:02:58Z|00001|vlog|INFO|opened log file C:/openvswitch/var/log/openvswitch/ovs-vswitchd.log
2018-11-11T22:02:58Z|00002|ovs_numa|INFO|Discovered 0 NUMA nodes and 0 CPU cores
2018-11-11T22:02:58Z|00003|reconnect|INFO|unix:C:/openvswitch/var/run/openvswitch/db.sock: connecting...
2018-11-11T22:02:58Z|00004|reconnect|INFO|unix:C:/openvswitch/var/run/openvswitch/db.sock: connected
2018-11-11T22:02:58Z|00005|dpif_netlink|INFO|The kernel module does not support meters.
2018-11-11T22:02:58Z|00006|netlink_socket|ERR|fcntl: The system cannot find the file specified.
2018-11-11T22:02:58Z|00007|dpif|WARN|failed to enumerate system datapaths: Invalid argument
2018-11-11T22:02:58Z|00008|netlink_socket|ERR|fcntl: The system cannot find the file specified.
2018-11-11T22:02:58Z|00009|dpif|WARN|failed to create datapath ovs-system: Invalid argument
2018-11-11T22:02:58Z|00010|ofproto_dpif|ERR|failed to open datapath of type system: Invalid argument
2018-11-11T22:02:58Z|00011|ofproto|ERR|failed to open datapath br-int: Invalid argument
2018-11-11T22:02:58Z|00012|bridge|ERR|failed to create bridge br-int: Invalid argument
2018-11-11T22:02:58Z|00013|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.10.90

I skipped the kernel module installation (run install uninstall.cmd) as I thought it relates to target machine only.

I also have Hyper-V feature not installed on my machine.

Any help would be appreciated

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20181113/ca6ab13d/attachment.html>

More information about the discuss mailing list