Bug 1887722
| Summary: | The validations statistics (numbers of execution) are erroneous. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gaël Chamoulaud <gchamoul> |
| Component: | python-validations-libs | Assignee: | mathieu bultel <mbultel> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.1 (Train) | CC: | cjeanner, jschluet, mbultel |
| Target Milestone: | z3 | 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.20200914174430.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-15 18:37:08 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: | |||
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.3 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/RHEA-2020:5413 |
The check-cpu validation has been executed only one time and the stat shows me that it has been executed 53 times already! undercloud) [RedHat-8.2 - stack@undercloud ~]$ openstack tripleo validator run --validation check-cpu --plan overcloud-10 /usr/lib/python3.6/site-packages/validations_libs/ansible.py:374: ResourceWarning: unclosed file <_io.BufferedWriter name='/var/log/validations/artifacts/93392131-3633-44be-a4c5-117948bc6208_check-cpu.yaml_2020-10-13T07:22:32.229799Z/artifacts/stdout'> status, rc = runner.run() +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+ | 93392131-3633-44be-a4c5-117948bc6208 | check-cpu | PASSED | all | undercloud | | 0:00:03.080 | +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+ sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 59752), raddr=('192.168.24.2', 13000)> (undercloud) [RedHat-8.2 - stack@undercloud ~]$ openstack tripleo validator show check-cpu +---------------------+-----------------------------------------------------+ | Field | Value | +---------------------+-----------------------------------------------------+ | ID | check-cpu | | Name | Verify if the server fits the CPU core requirements | | Description | Make sure that the server has enough CPU cores. | | | | | Groups | ['prep', 'pre-introspection'] | | Last execution date | 2020-10-13 07:22:33 | | Number of execution | Total: 53, Passed: 4, Failed: 49 | +---------------------+-----------------------------------------------------+