Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1894356

Summary: 'openstack tripleo validator run --group pre-introspection' failed at 'undercloud-neutron-sanity-check'
Product: Red Hat OpenStack Reporter: Sam Wan <Sam.Wan>
Component: openstack-neutronAssignee: Bernard Cafarelli <bcafarel>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: amuller, apevec, chrisw, cswanson, dmacpher, jelle.hoylaerts.ext, jjoyce, jschluet, lhh, scohen
Target Milestone: z4Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-15.2.1-1.20201114025039.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-17 15:35: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:
Embargoed:

Description Sam Wan 2020-11-04 06:06:31 UTC
Description of problem:

run 'openstack tripleo validator run --group pre-introspection' before inspecting the hardware of nodes and it fails at undercloud-neutron-sanity-check
=============================
 | 0d3c5c61-5bb9-40eb-955a-d16af71d24ef | undercloud-neutron-sanity-check | FAILED | undercloud |                           undercloud                          |                   | 0:
00:05.723 |
=============================

detailed error shows
=============================
(undercloud) [stack@elabdir85 ~]$ openstack tripleo validator show run 0d3c5c61-5bb9-40eb-955a-d16af71d24ef
...
                        "stderr_lines": [
                            "2020-11-04 13:33:39.897 270962 INFO neutron.common.config [-] Logging enabled!\u001b[00m",
                            "2020-11-04 13:33:39.897 270962 INFO neutron.common.config [-] /usr/bin/neutron-sanity-check version 15.2.1.dev12\u001b[00m",
                            "2020-11-04 13:33:39.972 270962 CRITICAL neutron [-] Unhandled error: oslo_config.cfg.NoSuchOptError: no such option vf_management in group [DEFAULT]",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron Traceback (most recent call last):",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron   File \"/usr/bin/neutron-sanity-check\", line 10, in <module>",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron     sys.exit(main())",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron   File \"/usr/lib/python3.6/site-packages/neutron/cmd/sanity_check.py\", line 404, in main",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron     enable_tests_from_config()",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron   File \"/usr/lib/python3.6/site-packages/neutron/cmd/sanity_check.py\", line 347, in enable_tests_from_confi
g",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron     cfg.CONF.set_default('vf_management', True)",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron   File \"/usr/lib/python3.6/site-packages/oslo_config/cfg.py\", line 2055, in __inner",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron     result = f(self, *args, **kwargs)",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron   File \"/usr/lib/python3.6/site-packages/oslo_config/cfg.py\", line 2459, in set_default",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron     opt_info = self._get_opt_info(name, group)",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron   File \"/usr/lib/python3.6/site-packages/oslo_config/cfg.py\", line 2849, in _get_opt_info",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron     raise NoSuchOptError(opt_name, group)",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron oslo_config.cfg.NoSuchOptError: no such option vf_management in group [DEFAULT]",
                            "2020-11-04 13:33:39.972 270962 ERROR neutron \u001b[00m",
                            "Error: non zero exit code: 1: OCI runtime error"
                        ],
                        "stdout": "",
                        "stdout_lines": []
                    }
                },
                "name": "Run neutron-sanity-check",
                "status": "FAILED"
...
=============================

the error is obvious: oslo_config.cfg.NoSuchOptError: no such option vf_management in group [DEFAULT]

It's the bug: https://bugs.launchpad.net/neutron/+bug/1888920 and there's a upstream fix: https://review.opendev.org/#/c/752388/ (for train)


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

Red Hat OpenStack Platform release 16.1.2 GA (Train)


How reproducible:


Steps to Reproduce:
1. openstack tripleo validator run --group pre-introspection
2.
3.

Actual results:
FAILED

Expected results:
PASSED

Additional info:

Although this bug is not critical since we can ignore the result.
It should be fixed because it might cause confusion to customers.

The fix needs to be applied to neutron-openvswitch-agent

Comment 1 Sam Wan 2020-11-04 06:10:29 UTC
The upstream fix for train is: https://review.opendev.org/#/c/752388/

Comment 2 Bernard Cafarelli 2020-11-09 14:55:05 UTC
Good point, let's add this to 16.1 (and later of course)

Comment 13 errata-xmlrpc 2021-03-17 15:35: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.4 director bug fix 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:0817