Bug 2170904 - Config file for neutron returned validation errors root:placement is not part of the sample config [NEEDINFO]
Summary: Config file for neutron returned validation errors root:placement is not part...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-17 15:29 UTC by Mikolaj Ciecierski
Modified: 2023-08-03 15:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
ifrangs: needinfo? (rhos-maint)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-22489 0 None None None 2023-02-17 15:30:31 UTC
Red Hat Issue Tracker VALFRWK-794 0 None None None 2023-02-17 15:33:12 UTC

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:


Note You need to log in before you can comment on or make changes to this bug.