Bug 1903606 - When running validations, the unreachable hosts are not considered to determine the execution status.
Summary: When running validations, the unreachable hosts are not considered to determi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-validations-libs
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: mathieu bultel
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On: 1912879
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-02 13:42 UTC by Gaël Chamoulaud
Modified: 2022-09-05 13:17 UTC (History)
5 users (show)

Fixed In Version: python-validations-libs-1.0.5-1.20210310114601.4a660ec.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:49:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 764219 0 None MERGED Handle unreachable case in the log statistics 2021-02-12 14:09:25 UTC
Red Hat Issue Tracker OSP-789 0 None None None 2022-09-05 13:17:13 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:50:16 UTC

Description Gaël Chamoulaud 2020-12-02 13:42:06 UTC
The unreachable hosts should be treated as FAILED status.

Comment 8 David Rosenfeld 2021-02-10 15:03:49 UTC
Shut down compute-0 and ran a validation. It passed and compute-0 was shown in green even though it was unreachable:

openstack tripleo validator run --plan overcloud --validation repos
+--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+
|                 UUID                 | Validations | Status |        Host_Group        |            Status_by_Host           | Unreachable_Hosts |   Duration  |
+--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+
| 1a2a6531-172a-4257-92a0-319b92e50e97 |    repos    | PASSED | undercloud, allovercloud | compute-0, controller-0, undercloud |     compute-0     | 0:00:31.755 |
+--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+

Comment 14 David Rosenfeld 2021-04-19 12:52:11 UTC
Verified the repos validation passed when all hosts were reachable. Shut down compute-0 and verified the validation failed. 

openstack tripleo validator run --plan overcloud --validation repos
+--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+
|                 UUID                 | Validations | Status |        Host_Group        |            Status_by_Host           | Unreachable_Hosts |   Duration  |
+--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+
| 651363fc-f3e1-4acf-bf9a-7c44301f7f1f |    repos    | FAILED | undercloud, allovercloud | compute-0, controller-0, undercloud |     compute-0     | 0:00:31.339 |
+--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+
One or more validations have failed

Comment 21 errata-xmlrpc 2021-05-26 13:49:37 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.6 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:2097


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