Bug 1903606
Summary: | When running validations, the unreachable hosts are not considered to determine the execution status. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Gaël Chamoulaud <gchamoul> |
Component: | python-validations-libs | Assignee: | mathieu bultel <mbultel> |
Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 16.1 (Train) | CC: | cjeanner, dpeacock, drosenfe, jbuchta, jschluet |
Target Milestone: | z6 | Keywords: | Triaged |
Target Release: | 16.1 (Train on RHEL 8.2) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-validations-libs-1.0.5-1.20210310114601.4a660ec.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-26 13:49:37 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: | |||
Bug Depends On: | 1912879 | ||
Bug Blocks: |
Description
Gaël Chamoulaud
2020-12-02 13:42:06 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 | +--------------------------------------+-------------+--------+--------------------------+-------------------------------------+-------------------+-------------+ 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 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 |