Bug 1826930

Summary: OVNMetadataEnabled value isn't applied
Product: Red Hat OpenStack Reporter: Dan Radez <dradez>
Component: openstack-tripleo-heat-templatesAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: beagles, jlibosva, mburns, rsafrono, spower
Target Milestone: gaKeywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200502083432.df3c2eb Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 07:51:40 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:

Description Dan Radez 2020-04-22 19:16:09 UTC
Description of problem:
OVNMetadataEnabled value isn't applied during an overcloud deployment

Version-Release number of selected component (if applicable):
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep heat-templates
openstack-tripleo-heat-templates-11.3.2-0.20200405044623.ec9970c.el8ost.noarch

Steps to Reproduce:

network-environment.yaml
parameter_defaults:
...
    OVNMetadataEnabled: true


Actual results:
[ovn]
ovn_nb_connection=tcp:172.17.1.129:6641
ovn_sb_connection=tcp:172.17.1.129:6642

Expected results:
[ovn]
ovn_nb_connection=tcp:172.17.1.129:6641
ovn_sb_connection=tcp:172.17.1.129:6642
ovn_metadata_enabled: true

Comment 1 Brent Eagles 2020-04-22 20:09:22 UTC
What appears to be happening is that ML2 ansible tripleo config is pulling in basic neutron ml2 plugin configuration and missing the OVN templates. Only the values set in the OVN controller templates are being set because it is separate from the core plugin/API container. I think the networking-ansible integration needs to be revisited either that it is truly additive or its "parent" configuration can be parameterized.

Comment 9 Roman Safronov 2020-07-13 09:25:50 UTC
Verified on   16.1-RHEL-8/RHOS-16.1-RHEL-8-20200625.n.0   with openstack-tripleo-heat-templates-11.3.2-0.20200616081529.396affd.el8ost.noarch.rpm 

Verified that ovn_metadata_enabled=True is set in ml2_conf.ini

Comment 13 errata-xmlrpc 2020-07-29 07:51:40 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:3148