Public bug reported:

Guys,

 I'm seeing an error right after first steps towards enabling
OpenvSwitch with DPDK on Xenial, easy to reproduce:

--
 NOTE: Instructions presented on an Intel post, also face this problem:

 
https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-on-ubuntu
--

 Steps to reproduce:

 * Installing

 apt update
 apt install dpdk openvswitch-switch-dpdk

 update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk
/ovs-vswitchd-dpdk

 * Configuring

 - Set DPDK_OPTS in "/etc/default/openvswitch-switch" file:

DPDK_OPTS='--dpdk -c 0x3 -n 4'

 - Set NR_2M_PAGES in "/etc/dpdk/dpdk.conf"

NR_2M_PAGES=64

 Then, just reboot the box, to make sure that it will come enabled.

 You can see that "ps axf | grep dpdk" will show that openvswitch is,
apparently, working with DPDK! But, is it really working?

 The BUG, run "ovs-vswitchd log", look:

---
root@xenial-1:~# ovs-vswitchd log
2016-03-08T05:08:35Z|00001|ovs_numa|INFO|Discovered 4 CPU cores on NUMA node 0
2016-03-08T05:08:35Z|00002|ovs_numa|INFO|Discovered 1 NUMA nodes and 4 CPU cores
2016-03-08T05:08:35Z|00003|reconnect|INFO|log: connecting...
2016-03-08T05:08:35Z|00004|reconnect|INFO|log: connection attempt failed 
(Address family not supported by protocol)
2016-03-08T05:08:35Z|00005|reconnect|INFO|log: waiting 1 seconds before 
reconnect
2016-03-08T05:08:36Z|00006|reconnect|INFO|log: connecting...
2016-03-08T05:08:36Z|00007|reconnect|INFO|log: connection attempt failed 
(Address family not supported by protocol)
2016-03-08T05:08:36Z|00008|reconnect|INFO|log: waiting 2 seconds before 
reconnect
^C2016-03-08T05:08:36Z|00009|fatal_signal|WARN|terminating with signal 2 
(Interrupt)
---

Someone else is also facing this problem:

https://software.intel.com/en-us/forums/networking/topic/611366

And I strong believe that because of this problem, it is not possible to
use a DPDK 10G NIC device, with OpenvSwitch+DPDK, thread on Ubuntu Devel
mail list (I'm guessing here):

https://lists.ubuntu.com/archives/ubuntu-devel-
discuss/2016-March/016287.html

I really appreciate any help!

Thanks!
Thiago

** Affects: openvswitch-dpdk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1554346

Title:
  ovs-vswitchd log: connection attempt failed (Address family not
  supported by protocol)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch-dpdk/+bug/1554346/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to