Bug 1959866 - 16.1 Validation local variable referenced before assignment traceback
Summary: 16.1 Validation local variable referenced before assignment traceback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z7
: 16.1 (Train on RHEL 8.2)
Assignee: Jiri Podivin
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On: 1959853
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-12 13:44 UTC by Gaël Chamoulaud
Modified: 2021-12-09 22:05 UTC (History)
7 users (show)

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.
Clone Of: 1959853
Environment:
Last Closed: 2021-12-09 20:19:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 784570 0 None MERGED Declare is_failed_validation variable before if statement 2021-05-12 13:44:37 UTC
OpenStack gerrit 790978 0 None MERGED Declare is_failed_validation variable before if statement 2021-05-18 18:49:10 UTC
OpenStack gerrit 790979 0 None MERGED Declare is_failed_validation variable before if statement 2021-05-18 18:49:10 UTC
OpenStack gerrit 790980 0 None MERGED Declare is_failed_validation variable before if statement 2021-05-18 18:49:11 UTC
Red Hat Issue Tracker OSP-3848 0 None None None 2021-11-18 11:32:20 UTC
Red Hat Issue Tracker VALFRWK-521 0 None None None 2021-08-13 05:30:02 UTC
Red Hat Product Errata RHBA-2021:3762 0 None None None 2021-12-09 20:19:55 UTC

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


Note You need to log in before you can comment on or make changes to this bug.