Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1667710

Summary: OVN-DPDK- missing Tripleo heat templates for OVN-DPDK
Product: Red Hat OpenStack Reporter: Eran Kuris <ekuris>
Component: openstack-tripleo-heat-templatesAssignee: Saravanan KR <skramaja>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: dalvarez, lmartins, mburns, rsafrono, skramaja
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-10.6.2-0.20191202200455.41d9f8a.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-05 11:59:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1668661    

Description Eran Kuris 2019-01-20 09:49:05 UTC
Description of problem:
There is missing TripleO heat template for OVN-DPDK
the only template that exists for DPDK is neutron-ovs-dpdk.yaml which is enable 
OS::TripleO::Services::ComputeNeutronOvsDpdk: ../docker/services/neutron-ovs-dpdk-agent.yaml

Version-Release number of selected component (if applicable):
OSP14 2019-01-17.2

How reproducible:
100%

Steps to Reproduce:
1. check in Undercloud if we have ovn-dpdk template under /usr/share/openstack-tripleo-heat-templates/environments/
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Daniel Alvarez Sanchez 2019-01-23 10:39:55 UTC
Right now, it's not possible to deploy OVS/DPDK setups via TripleO/Director when using OVN as a backend on RHOSP.

We need to introduce the necessary bits in THT, similar to what's currently in place for ML2/OVS [0]. There, the following parameters are setup [1]:

  NeutronDatapathType: "netdev"
  NeutronVhostuserSocketDir: "/var/lib/vhost_sockets"
  NovaSchedulerDefaultFilters: "ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
  OvsDpdkDriverType: "vfio-pci"


It has to be considered as well if there's any bits missing on core OVN and open a separate BZ if so.

[0] https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/neutron-ovs-dpdk-agent.yaml
[1] https://github.com/openstack/tripleo-heat-templates/blob/master/environments/neutron-ovs-dpdk.yaml

Comment 2 Daniel Alvarez Sanchez 2019-01-23 10:41:26 UTC
*** Bug 1668660 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Alvarez Sanchez 2019-01-29 14:05:33 UTC
We may need a separate BZ so support changing the datapath on ovn-controller.

Comment 5 Daniel Alvarez Sanchez 2019-08-23 13:18:12 UTC
(In reply to Daniel Alvarez Sanchez from comment #3)
> We may need a separate BZ so support changing the datapath on ovn-controller.

Answering myself for completion:   https://bugzilla.redhat.com/show_bug.cgi?id=1684796   already VERIFIED and available from ovn2.11-2.11.0-6.el7fdp.x86_64

Comment 10 Roman Safronov 2019-12-22 13:41:16 UTC
According to comment 8 the fix should be verified on OSP15

Verified on 15.0-RHEL-8/RHOS_TRUNK-15.0-RHEL-8-20191212.n.0 with openstack-tripleo-heat-templates-10.6.2-0.20191202200455.41d9f8a.el8ost.noarch

Verified that tripleo ovn-dpdk templates are available

[root@undercloud-0 ~]# find  /usr/share/openstack-tripleo-heat-templates -name *ovn* | grep dpdk
/usr/share/openstack-tripleo-heat-templates/deployment/neutron/neutron-ovn-dpdk-config-container-puppet.yaml
/usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-dpdk.yaml

Comment 11 Alex McLeod 2020-02-19 12:44:11 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.

Comment 14 errata-xmlrpc 2020-03-05 11:59:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0643