Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1887710

Summary: Missing parameters field when showing details of a validation
Product: Red Hat OpenStack Reporter: Gaël Chamoulaud <gchamoul>
Component: python-validations-libsAssignee: 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: z3Keywords: 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:

Description Gaël Chamoulaud 2020-10-13 07:50:07 UTC
When showing details of a validation, the output table should list all the available parameters for that validations if they exists.

(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-12 19:46:20                                 |
| Number of execution | Total: 52, Passed: 4, Failed: 48                    |
+---------------------+-----------------------------------------------------+

We should have instead:

(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']                       |
| Parameters          | {'minimal_cpu_count': 8}                            |
| Last execution date | 2020-10-12 19:46:20                                 |
| Number of execution | Total: 52, Passed: 4, Failed: 48                    |
+---------------------+-----------------------------------------------------+

Comment 11 errata-xmlrpc 2020-12-15 18:37:08 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.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