Bug 1831739

Summary: RHos 16.1: Validator undercloud-neutron-sanity-check failed with traceback
Product: Red Hat OpenStack Reporter: Jad Haj Yahya <jhajyahy>
Component: openstack-tripleo-validationsAssignee: Cédric Jeanneret <cjeanner>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: cjeanner, emacchi, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-11.3.2-0.20200506203424.b43da87.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 07:52:21 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 Jad Haj Yahya 2020-05-05 14:37:58 UTC
Description of problem:
Running Validator undercloud-neutron-sanity-check failed with traceback

[FAILED] - undercloud-neutron-sanity-check.yaml
    b'Using /tmp/undercloud-neutron-sanity-check.yaml0rhxuoefansible.cfg as config file'
    b"Task 'neutron_sanity_check : Run neutron-sanity-check' failed:"
    b'Host: undercloud'
    b'Message: Command `podman exec -u root neutron_ovs_agent /bin/bash -c neutron-sanity-check --config-file /etc/neutron/fwaas_driver.ini` exited with code: 1: non-zero return code'
    b'stderr:'
    b'    2020-04-30 18:26:18.147 191309 INFO neutron.common.config [-] Logging enabled!\x1b[00m'
    b'    2020-04-30 18:26:18.147 191309 INFO neutron.common.config [-] /usr/bin/neutron-sanity-check version 15.0.3.dev79\x1b[00m'
    b'    2020-04-30 18:26:18.151 191309 CRITICAL neutron [-] Unhandled error: oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/fwaas_driver.ini'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron Traceback (most recent call last):'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/bin/neutron-sanity-check", line 10, in <module>'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron     sys.exit(main())'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/lib/python3.6/site-packages/neutron/cmd/sanity_check.py", line 424, in main'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron     config.init(sys.argv[1:], default_config_files=[])'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/lib/python3.6/site-packages/neutron/common/config.py", line 89, in init'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron     **kwargs)'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/lib/python3.6/site-packages/oslo_config/cfg.py", line 2134, in __call__'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron     raise ConfigFilesNotFoundError(self._namespace._files_not_found)'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/fwaas_driver.ini'
    b'    2020-04-30 18:26:18.151 191309 ERROR neutron \x1b[00m'
    b'    Error: non zero exit code: 1: OCI runtime error'
    b"Task 'neutron_sanity_check : Fail' failed:"
    b'Host: undercloud'
    b'Message: 2020-04-30 18:26:18.151 191309 ERROR neutron Traceback (most recent call last):'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/bin/neutron-sanity-check", line 10, in <module>'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron     sys.exit(main())'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/lib/python3.6/site-packages/neutron/cmd/sanity_check.py", line 424, in main'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron     config.init(sys.argv[1:], default_config_files=[])'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/lib/python3.6/site-packages/neutron/common/config.py", line 89, in init'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron     **kwargs)'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron   File "/usr/lib/python3.6/site-packages/oslo_config/cfg.py", line 2134, in __call__'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron     raise ConfigFilesNotFoundError(self._namespace._files_not_found)'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/fwaas_driver.ini'
    b'2020-04-30 18:26:18.151 191309 ERROR neutron \x1b[00m'
    b'Failure! The validation failed for all hosts:'
    b'* undercloud'


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


How reproducible:


Steps to Reproduce:
1. openstack tripleo validator run --validation undercloud-neutron-sanity-check
2.
3.

Actual results:
Failed with traceback

Expected results:
success

Additional info:
link to job artefacts:
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/df/view/rfe/job/DFG-df-rfe-16.1-virsh-1cont_1comp_1ceph-validator-verification/3/artifact/.sh/validator-verification-run.log

Comment 1 Cédric Jeanneret 2020-05-06 11:57:22 UTC
Guess this is the needed patch: https://review.opendev.org/#/c/721541/

Comment 2 Cédric Jeanneret 2020-05-07 05:49:10 UTC
openstack-tripleo-validations-11.3.2-0.20200506203424.b43da87.el8ost
* Wed May 06 2020 OSP Prod Chain <dev-null> 11.3.1-1
- Update patches
- Remove fwaas_driver.ini from neutron sanity checks

Comment 7 Jad Haj Yahya 2020-05-14 15:19:47 UTC
openstack tripleo validator run --validation undercloud-neutron-sanity-check
[SUCCESS] - undercloud-neutron-sanity-check.yaml
    b'Using /tmp/undercloud-neutron-sanity-check.yamlq8qow2x_ansible.cfg as config file'
    b'Success! The validation passed for all hosts:'
    b'* undercloud'

Comment 9 errata-xmlrpc 2020-07-29 07:52:21 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/RHBA-2020:3148