Bug 1887777
Summary: | The Validator run CLI doesn't take parameters coming from a file with the --extra-vars-file argument | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Gaël Chamoulaud <gchamoul> |
Component: | python-validations-libs | Assignee: | Gaël Chamoulaud <gchamoul> |
Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 16.1 (Train) | CC: | cjeanner, drosenfe, jschluet, mbultel, slinaber, spower |
Target Milestone: | z4 | Keywords: | Triaged |
Target Release: | 16.1 (Train on RHEL 8.2) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-tripleoclient-12.3.2-1.20200914164931.el8ost python-validations-libs-1.0.5-1.20200914174431.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-03-17 15:33:11 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-10-13 10:35:40 UTC
Verification of this BZ is blocked by: https://bugzilla.redhat.com/show_bug.cgi?id=1912879 With this extra-var-file validation passes: more /tmp/check-cpu.json { "minimal_cpu_count": 1 } openstack tripleo validator run --validation check-cpu --extra-vars-file /tmp/check-cpu.json Running Validations without Overcloud settings. +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ | 87caf663-5adb-48ab-b23d-600475af0435 | check-cpu | PASSED | all | compute-0, controller-0, undercloud | | 0:00:02.798 | +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ With this extra-var-file validation fails: more /tmp/check-cpu.json { "minimal_cpu_count": 120 } openstack tripleo validator run --validation check-cpu --extra-vars-file /tmp/check-cpu.json Running Validations without Overcloud settings. +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ | 40b14321-9b7d-470b-b479-230b9a8b281c | check-cpu | FAILED | all | compute-0, controller-0, undercloud | | 0:00:02.802 | +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ extra-var-file is being used because validation passes when one cpu is required and fails when 120 cpus are required. 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.4 director bug fix 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:0817 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.4 director bug fix 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:0817 |