Bug 1950544

Summary: nova-event-callback validator fails to read controller nova.conf as valid ini file
Product: Red Hat OpenStack Reporter: Chris Fields <cfields>
Component: validations-commonAssignee: David Vallee Delisle <dvd>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: dvd, gchamoul, jjoyce, jschluet, slinaber, smooney, tvignaud, uemit.seren
Target Milestone: z7Keywords: Patch, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: validations-common-1.1.2-1.20210512043304.7f3c565.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1959671 (view as bug list) Environment:
Last Closed: 2021-12-09 20:18:39 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: Train
Embargoed:
Bug Depends On:    
Bug Blocks: 1959671    

Description Chris Fields 2021-04-16 20:49:06 UTC
Description of problem:

openstack tripleo validator run --validation  nova-event-callback

openstack tripleo validator show run  84d0318e-9d0c-44eb-a5a3-ad3264aeab50

      {
            "task": {
                "hosts": {
                    "overcloud-controller-0": {
                        "_ansible_no_log": false,
                        "action": "validations_read_ini",
                        "changed": false,
                        "failed": true,
                        "invocation": {
                            "module_args": {
                                "default": null,
                                "ignore_missing_file": true,
                                "key": "vif_plugging_is_fatal",
                                "path": "/var/lib/config-data/puppet-generated/nova/etc/nova/nova.conf",
                                "section": "DEFAULT"
                            }
                        },
                        "msg": "The file '/var/lib/config-data/puppet-generated/nova/etc/nova/nova.conf' is not in a valid INI format."
                    }
                },
                "name": "Get vif_plugging_fatal value from nova.conf",
                "status": "FAILED"
            }
        }


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

How reproducible:
100%

Additional info:
This validator fails on every controller.  Additionally, this key vif_plugging_is_fatal is defined on compute nodes too but it does not execute on those.

Comment 8 David Vallee Delisle 2021-04-27 12:01:19 UTC
*** Bug 1950539 has been marked as a duplicate of this bug. ***

Comment 27 errata-xmlrpc 2021-12-09 20:18:39 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 16.1.7 (Train) 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-2021:3762