Bug 1959866

Summary: 16.1 Validation local variable referenced before assignment traceback
Product: Red Hat OpenStack Reporter: Gaƫl Chamoulaud <gchamoul>
Component: python-tripleoclientAssignee: Jiri Podivin <jpodivin>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: drosenfe, gchamoul, gregraka, hbrock, jpodivin, jslagle, mburns
Target Milestone: z7Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-12.3.2-1.20210514083321.ae58329.el8ost Doc Type: Bug Fix
Doc Text:
Before this update, during a tripleo validation on an OpenStack component, the following exception error occurred: + ---- Unhandled exception during validation run. ---- + This error occurred because a variable in the code was referenced, but never assigned. + With this update, this problem has been fixed and validations run without this error.
Story Points: ---
Clone Of: 1959853 Environment:
Last Closed: 2021-12-09 20:19:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1959853    
Bug Blocks:    

Comment 9 David Rosenfeld 2021-07-28 14:16:10 UTC
Both validations execute without tracebacks:

openstack tripleo validator run --validation ceph-health
Running Validations without Overcloud settings.
+--------------------------------------+-------------+--------+------------+----------------+-------------------+----------+
|                 UUID                 | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration |
+--------------------------------------+-------------+--------+------------+----------------+-------------------+----------+
| 8cfb9310-707a-4c48-b549-2db52fabd2c0 | ceph-health | PASSED |  ceph_mon  |                |                   |          |
+--------------------------------------+-------------+--------+------------+----------------+-------------------+----------+
(undercloud) [stack@undercloud-0 ~]$ 
(undercloud) [stack@undercloud-0 ~]$ 
(undercloud) [stack@undercloud-0 ~]$ 
(undercloud) [stack@undercloud-0 ~]$ openstack tripleo validator run --validation ovs-dpdk-pmd-cpus-check
Running Validations without Overcloud settings.
+--------------------------------------+-------------------------+--------+----------------+----------------+-------------------+----------+
|                 UUID                 |       Validations       | Status |   Host_Group   | Status_by_Host | Unreachable_Hosts | Duration |
+--------------------------------------+-------------------------+--------+----------------+----------------+-------------------+----------+
| 885de8de-2355-46c0-9724-8852193f269a | ovs-dpdk-pmd-cpus-check | PASSED | ComputeOvsDpdk |                |                   |          |
+--------------------------------------+-------------------------+--------+----------------+----------------+-------------------+----------+

Comment 23 errata-xmlrpc 2021-12-09 20:19:32 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