Bug 1635335

Summary: TripleO validation of VLANs using introspected LLDP data fails in OSP14 - /etc/ironic-inspector/inspector.conf doesn't exist in containerized UC.
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-tripleo-validationsAssignee: Bob Fournier <bfournie>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: afiodoro, bfournie, jjoyce, jschluet, racedoro, slinaber, tvignaud
Target Milestone: betaKeywords: Regression, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-9.3.1-0.20181008110747.4064fb7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:53:35 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 Alexander Chuzhoy 2018-10-02 16:40:54 UTC
TripleO validation of VLANs using introspected LLDP data fails in OSP14 - /etc/ironic-inspector/inspector.conf doesn't exist in containerized UC.

Environment:
openstack-tripleo-validations-9.3.1-0.20180831205305.fbfd253.el7ost.noarch
instack-undercloud-9.3.1-0.20180918171407.b0205ab.el7ost.noarch

Steps to reproduce:
Run ansible-playbook -vvv -i /usr/bin/tripleo-ansible-inventory /usr/share/openstack-tripleo-validations/validations/switch-vlans.yaml 

Result:

fatal: [undercloud]: FAILED! => {
    "changed": false, 
    "invocation": {
        "module_args": {
            "ignore_missing_file": null, 
            "key": "auth_url", 
            "path": "/etc/ironic-inspector/inspector.conf", 
            "section": "swift"
        }
    }, 
    "msg": "Could not open the ini file: '/etc/ironic-inspector/inspector.conf'"
}

For containerized UC seems like /var/lib/config-data/ironic_inspector/etc/ironic-inspector/inspector.conf is the right path.

Comment 2 Alexander Chuzhoy 2018-10-24 15:59:31 UTC
Verified:
Environment:
openstack-tripleo-validations-9.3.1-0.20181008110747.4064fb7.el7ost.noarch
The reported issue doens't reproduce.

Comment 5 Gaƫl Chamoulaud 2018-10-29 13:07:28 UTC
*** Bug 1643912 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2019-01-11 11:53:35 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, 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/RHEA-2019:0045