Bug 2122705 - oslo-config-validator fails on key_manager/backend is not part of sample config
Summary: oslo-config-validator fails on key_manager/backend is not part of sample config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 17.0
Assignee: OSP Team
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 2112918
TreeView+ depends on / blocked
 
Reported: 2022-08-30 16:16 UTC by Alan Bishop
Modified: 2023-01-25 12:29 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-validations-14.2.2-0.20220930110209.37bfae3.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2112918
Environment:
Last Closed: 2023-01-25 12:28:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 854379 0 None stable/wallaby: MERGED tripleo-validations: oslo-config-validator: fix cinder's namespaces (I3395cb30b4e970fae6573faa25ad3ae9d2050c7e) 2022-12-06 17:16:30 UTC
Red Hat Issue Tracker OSP-18469 0 None None None 2022-08-30 16:27:53 UTC
Red Hat Product Errata RHBA-2023:0271 0 None None None 2023-01-25 12:29:08 UTC

Description Alan Bishop 2022-08-30 16:16:36 UTC
+++ This bug was initially created as a clone of Bug #2112918 +++

Description of problem:

We have following failed oslo-config-validation reported by couple of cu's. I think this needs to be updated since we see this is being set as default.

~~~
 "action": "assert",
                        "changed": false,
                        "failed": true,
                        "msg": "All items completed",
                        "results": [
                            {
                                "_ansible_item_label": "/var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf/cinder",
                                "_ansible_no_log": false,
                                "_ansible_verbose_always": true,
                                "ansible_loop_var": "service",
                                "assertion": "not service.output | count",
                                "changed": false,
                                "evaluated_to": false,
                                "failed": true,
                                "msg": "Config file /var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf for cinder has returned validation errors:\n  ERROR:root:key_manager/backend is not part of the sample config\n",
                                "service": {
                                    "config_file": "/var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf",
                                    "namespaces": [
                                        "cinder",
                                        "keystonemiddleware.auth_token",
                                        "oslo.log",
                                        "oslo.messaging",
                                        "oslo.policy",
                                        "oslo.privsep",
                                        "oslo.service.periodic_task",
                                        "oslo.service.service",
                                        "oslo.db",
                                        "oslo.db.concurrency",
                                        "oslo.middleware",
                                        "oslo.concurrency",
                                        "osprofiler"
                                    ],
                                    "output": [
                                        "ERROR:root:key_manager/backend is not part of the sample config"
                                    ],
                                    "service": "cinder"
~~~



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

How reproducible:


Steps to Reproduce:
1. Run validation post ffu
2. failure reported for oslo-config validation.
3.

Actual results:
failed validation

Expected results:
should pass

Comment 9 errata-xmlrpc 2023-01-25 12:28:51 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.0.1 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-2023:0271


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