ovs-dpdk kolla-ansible pike installation issue

asked 2018-02-12 05:36:12 -0500

akarki gravatar image

updated 2018-02-12 05:40:35 -0500

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
    Manager "ptcp:6640:"
    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.

edit retag flag offensive close merge delete



I am having the same issue. How did you manage to solve it?

jmguzman gravatar imagejmguzman ( 2018-05-24 18:26:22 -0500 )edit

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"

Subrata Nath gravatar imageSubrata Nath ( 2018-10-22 05:21:21 -0500 )edit