Bug 1946047
| Summary: | [TripleO Validator Run] --static-inventory argument is mutually exclusive with --extra-vars/--extra-vars-file/--extra-env-vars | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gaël Chamoulaud <gchamoul> | |
| Component: | python-tripleoclient | Assignee: | mathieu bultel <mbultel> | |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 16.1 (Train) | CC: | cjeanner, dpeacock, hbrock, jbuchta, jpodivin, jslagle, mbultel, mburns | |
| Target Milestone: | z6 | 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.20210329153522.el8ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1946454 (view as bug list) | Environment: | ||
| Last Closed: | 2021-05-26 13:52:31 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: | ||||
| Bug Blocks: | 1946454 | |||
Hello @gchamoul @mbultel, Care to check if this one can be moved to MODIFIED with some FIV value? Else, it will be pushed to z7, unless it's a blocker. Cheers, C. Static inventory and extra-vars-file are no longer mutually exclusive: openstack tripleo validator run --validation check-cpu --static-inventory /home/stack/inventory.yaml --extra-vars-file /tmp/check-cpu1.json Running Validations without authentication. +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ | fa832580-9a39-456b-9565-25ef93a00d55 | check-cpu | PASSED | all | compute-0, controller-0, undercloud | | 0:00:03.826 | +--------------------------------------+-------------+--------+------------+-------------------------------------+-------------------+-------------+ 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.6 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:2097 |
Description of problem: The --static-inventory argument is part of the mutual and exclusive group of argument including --extra-vars/--extra-vars-file/--extra-env-vars and it can't be used in addition to those --extra-vars ones. How reproducible: [stack@undercloud ~]$ openstack tripleo validator run --validation check-ram --static-inventory inventory.yaml --extra-vars-file myvars.json usage: openstack tripleo validator run [--plan PLAN] [--ssh-user SSH_USER] [--limit LIMIT] [--extra-vars key1=<val1>[,key2=val2 --extra-vars key3=<val3>] | --extra-vars-file EXTRA_VARS_FILE | --extra-env-vars key1=<val1>[,key2=val2 --extra-env-vars key3=<val3>] | --static-inventory STATIC_INVENTORY] (--validation <validation_id>[,<validation_id>,...] | --group <group>[,<group>,...]) openstack tripleo validator run: error: argument --extra-vars: not allowed with argument --static-inventory Expected results: [stack@undercloud ~]$ openstack tripleo validator run --validation check-ram --static-inventory inventory.yaml --extra-vars-file myvars.json Running Validations without Overcloud settings. +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+ | 876c481c-20fa-40f1-830b-e66a13b6085b | check-ram | PASSED | all | undercloud | | 0:00:00.842 | +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+