ovs-dpdk kolla-ansible pike installation issue
hi, We are currently trying to deploy ovs-dpdk in kolla-ansible pike branch. We have made changes in globals.yml as:
ovs_datapath: "netdev"
enable_ovs_dpdk: yes
enable_openvswitch: yes
tunnel_interface: "dpdk_bridge"
neutron_bridge_name: "dpdk_bridge"
After deployment is over we see that neutron-openvswitch-agent docker container is in restarting mode.
logs for neutron-openvswitch-agent container: http://paste.openstack.org/show/669729/
error logs dor ovsdpdk-db shows:
2018-02-12T11:22:38.147Z|00067|dpdk|ERR|MBUF: error setting mempool handler
2018-02-12T11:22:38.147Z|00068|netdev_dpdk|ERR|Failed to create memory pool for netdev enp4s0f0, with MTU 1500 on socket 0: Invalid argument
2018-02-12T11:22:38.147Z|00069|dpif_netdev|ERR|Failed to set interface enp4s0f0 new configuration
2018-02-12T11:22:38.147Z|00070|bridge|WARN|could not add network device enp4s0f0 to ofproto (No such device)
complete logs ovsdpdk-db: http://paste.openstack.org/show/669737/
also ouput to ovs-vsctl show command:
(ovsdpdk-db)[root@compute211276 /]# ovs-vsctl show
9e30227b-91dd-44c7-98d8-186fa415e8c4
Manager "ptcp:6640:127.0.0.1"
Bridge dpdk_bridge
Port dpdk_bridge
Interface dpdk_bridge
type: internal
Port "enp4s0f0"
Interface "enp4s0f0"
type: dpdk
options: {dpdk-devargs="0000:04:00.0"}
please help.
Hi
I am having the same issue. How did you manage to solve it?
I got the same issue on Ubuntu 16.04. As mentioned in https://github.com/zrlio/urdma, i used the option "-d /usr/lib64/librte_mempool_ring.so". it seems to fix the issue. ovs-vsctl --no-wait set Open_vSwitch . \ . other_config:dpdk-extra="--file-prefix=ovs_ -d /usr/lib64/librte_mempool_ring.so"