Bug 2170904

Summary: Config file for neutron returned validation errors root:placement is not part of the sample config
Product: Red Hat OpenStack Reporter: Mikolaj Ciecierski <mciecier>
Component: openstack-tripleo-validationsAssignee: OSP Team <rhos-maint>
Status: NEW --- QA Contact: Nobody <nobody>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: jjoyce, jpodivin, jschluet, rhos-maint, slinaber, tvignaud
Target Milestone: ---Keywords: Bugfix, Triaged
Target Release: ---Flags: ifrangs: needinfo? (rhos-maint)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Mikolaj Ciecierski 2023-02-17 15:29:48 UTC
Description of problem:
validation run --validation oslo-config-validator fails with error:

|                   |             | Config file /var/lib/config-data/puppet-generated/neutron/etc/neutron/neutron.conf for neutron has returned validation errors:    |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/auth_url is not part of the sample config                                                                  |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/username is not part of the sample config                                                                  |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/password is not part of the sample config                                                                  |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/project_domain_name is not part of the sample config                                                       |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/project_name is not part of the sample config                                                              |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/user_domain_name is not part of the sample config                                                          |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/region_name is not part of the sample config                                                               |
2023-02-16 21:58:39 | |                                      |                              |        |            |                                                                                                    |                   |             |   ERROR:root:placement/auth_type is not part of the sample config  

There is either problem with generated neutron.conf file or validation returns wrong result.
I found this upstream change to oslo-config-generated that seems related to the failure https://review.opendev.org/c/openstack/neutron/+/789648 


Version-Release number of selected component (if applicable):
openstack-tripleo-validations-14.3.2-1.20221216020945.87d24b4.el9ost

How reproducible:
always

Steps to Reproduce:
1. Deploy overcloud 
2. Run validation run --validation oslo-config-validator 
3.

Actual results:


Expected results:
No failure in validation

Additional info: