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

Bug 2233873

Summary: ovn-migration: Custom templates may overwrite OVS agent config file
Product: Red Hat OpenStack Reporter: Jakub Libosvar <jlibosva>
Component: openstack-neutronAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: chrisw, scohen
Target Milestone: z2Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-18.6.1-17.1.20231025110804.85ff760.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-16 14:30:42 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 Jakub Libosvar 2023-08-23 15:41:06 UTC
Description of problem:
director post processing can perform anything. If there is OS::Heat::SoftwareConfig that calls crudini on OVS agent config file then it actually generates a new one. The reason is that overcloud deploy deletes existing config file from /var/lib/config-data directory and crudini then recreates it. On container startup, the config files are copied over, overwriting the existing config file.

Version-Release number of selected component (if applicable):
17.1 Beta

How reproducible:
Always

Steps to Reproduce:
1. Have a post processing SoftwareConfig type that calls crudini --set on OVS agent file
2. Run OVN migration
3. After install-ovn step the OVS agent loses its configuration

Actual results:


Expected results:


Additional info:

Comment 13 errata-xmlrpc 2024-01-16 14:30:42 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 (Red Hat OpenStack Platform 17.1.2 bug fix and enhancement 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-2024:0209