Openvswitch package not build with dpdk

Bug #1718665 reported by Sanjay Upadhyay
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Unassigned

Bug Description

Description
===========
Unable to deploy tripleo with ovs-dpdk scenario, which is in docs http://tripleo.org/advanced_deployment/ovs_dpdk_config.html. The issue is that openvswitch package is not built with dpdk binaries, hence dpdk options cannot be applied.

Steps to reproduce
==================
I have centos-7.4. The openvswitch package details (repo delorean-pike-testing) are below

Here is the run -
[stack@undercloud ~]$ date
Fri Sep 15 12:18:51 UTC 2017
[stack@undercloud ~]$ yum list openvswitch -q
Installed Packages
openvswitch.x86_64 1:2.7.2-3.1fc27.el7 @delorean-pike-testing
[stack@undercloud ~]$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[stack@undercloud ~]$ sudo ovs-vsctl get Open_vSwitch . iface_types
[geneve, gre, internal, lisp, patch, stt, system, tap, vxlan]

Expected result
===============

For DPDK to work we need iface_types
[dpdk, geneve, gre, internal, ipsec_gre, lisp, patch, stt, system, tap, vxlan]

Actual result
=============

[stack@undercloud ~]$ sudo ovs-vsctl get Open_vSwitch . iface_types
[geneve, gre, internal, lisp, patch, stt, system, tap, vxlan]

Tags: networking
Revision history for this message
Alan Pevec (apevec) wrote :

This is rebuilt of Fedora RPM, and it was done with DPDK enabled:
http://cbs.centos.org/kojifiles/packages/openvswitch/2.7.2/3.1fc27.el7/data/logs/x86_64/build.log

But even on Fedora, I also do not get dpdk in the iface_types list, there must be something more required to get DPDK working?

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → queens-1
Revision history for this message
Alan Pevec (apevec) wrote :

@Sanjay reply from fbo was "It will not show the interfaces until you enable DPDK in the
database."

Can you check that?

Revision history for this message
Numan Siddique (numansiddique) wrote :
Revision history for this message
Sanjay Upadhyay (saneax) wrote :

@Alan,

Sorry for the bug, it seems the package is enabled with dpdk.

[root@ho302 ~]# ovs-vsctl get Open_vSwitch . iface_types
[dpdk, dpdkr, dpdkvhostuser, dpdkvhostuserclient, geneve, gre, internal, lisp, patch, stt, system, tap, vxlan]

All I needed to do was initialize the ovs-vswitchd with dpdk option -
ovs-vsctl set Open_vSwitch . other_config:dpdk-init=true

Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.