Bug 1962688

Summary: OSP 16.1 validations extra-var and extra-env-vars are mutually exclusive
Product: Red Hat OpenStack Reporter: Gaël Chamoulaud <gchamoul>
Component: python-tripleoclientAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: drosenfe, gchamoul, hbrock, jslagle, mburns
Target Milestone: z7Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-12.3.2-1.20210527083307.ae58329.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1962681 Environment:
Last Closed: 2021-12-09 20:19:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version: Train
Embargoed:
Bug Depends On: 1962681    
Bug Blocks:    

Comment 10 David Rosenfeld 2021-09-02 20:59:26 UTC
Validator from description passes.

openstack tripleo validator run --static-inventory /home/stack/inventory.yaml --validation check-cpu --extra-vars minimal_cpu_count=1 --extra-env-vars ANSIBLE_STDOUT_CALLBACK=default
Running Validations without Overcloud settings.

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
Thursday 02 September 2021  20:55:49 +0000 (0:00:00.034)       0:00:00.034 **** 
ok: [undercloud]
ok: [controller-0]
ok: [compute-0]

TASK [check_cpu : Verify the number of CPU cores] ******************************
Thursday 02 September 2021  20:55:53 +0000 (0:00:03.056)       0:00:03.091 **** 
ok: [undercloud]
ok: [controller-0]
ok: [compute-0]

PLAY RECAP *********************************************************************
compute-0                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
controller-0               : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
undercloud                 : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
Thursday 02 September 2021  20:55:53 +0000 (0:00:00.192)       0:00:03.283 **** 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 3.06s
check_cpu : Verify the number of CPU cores ------------------------------ 0.19s
No Validation has been run, please check your parameters.

Comment 20 errata-xmlrpc 2021-12-09 20:19:39 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.7 (Train) 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:3762