Bug 1887710 - Missing parameters field when showing details of a validation
Summary: Missing parameters field when showing details of a validation
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: z3
: 16.1 (Train on RHEL 8.2)
Assignee: mathieu bultel
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-13 07:50 UTC by Gaël Chamoulaud
Modified: 2020-12-15 18:37 UTC (History)
3 users (show)

Fixed In Version: python-validations-libs-1.0.5-1.20200914174430.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 18:37:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 757960 0 None MERGED Add parameters values to the validation show command 2021-02-02 19:58:32 UTC
Red Hat Product Errata RHEA-2020:5413 0 None None None 2020-12-15 18:37:34 UTC

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


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