ovs-vswitchd log: connection attempt failed (Address family not supported by protocol)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvswitch-dpdk (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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:/
--
Steps to reproduce:
* Installing
apt update
apt install dpdk openvswitch-
update-
* Configuring
- Set DPDK_OPTS in "/etc/default/
DPDK_OPTS='--dpdk -c 0x3 -n 4'
- Set NR_2M_PAGES in "/etc/dpdk/
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-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
^C2016-
---
Someone else is also facing this problem:
https:/
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:/
I really appreciate any help!
Thanks!
Thiago
This is weird...
I just removed OVS with DPDK:
apt purge libdpdk0:amd64 dpdk openvswitch- switch- dpdk
apt autoremove
And installed regular OVS:
apt install openvswitch-switch
But, same problem on on log:
--- 08T05:57: 49Z|00001| ovs_numa| INFO|Discovered 4 CPU cores on NUMA node 0 08T05:57: 49Z|00002| ovs_numa| INFO|Discovered 1 NUMA nodes and 4 CPU cores 08T05:57: 49Z|00003| reconnect| INFO|log: connecting... 08T05:57: 49Z|00004| reconnect| INFO|log: connection attempt failed (Address family not supported by protocol) 08T05:57: 49Z|00005| reconnect| INFO|log: waiting 1 seconds before reconnect 08T05:57: 50Z|00006| reconnect| INFO|log: connecting... 08T05:57: 50Z|00007| reconnect| INFO|log: connection attempt failed (Address family not supported by protocol) 08T05:57: 50Z|00008| reconnect| INFO|log: waiting 2 seconds before reconnect 08T05:57: 52Z|00009| reconnect| INFO|log: connecting... 08T05:57: 52Z|00010| reconnect| INFO|log: connection attempt failed (Address family not supported by protocol) 08T05:57: 52Z|00011| reconnect| INFO|log: waiting 4 seconds before reconnect 03-08T05: 57:52Z| 00012|fatal_ signal| WARN|terminatin g with signal 2 (Interrupt)
root@blade:~# ovs-vswitchd log
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
2016-03-
^C2016-
---
So, this might not be even a problem after all?
What is this message on log?
Thanks!
Thiago