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 | +--------------------------------------+-------------+--------+------------+----------------+-------------------+-------------+
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