Currently, the Validation Framework used a specific callback to run the validation with Ansible. This callback is responsible of the logging and the stdout printing on the console. The goal of the RFE is to be able the use a custom stdout callback, like the Ansible default, or others and still logging as the framework is expected.
For QE validations and testing it will be: 1/ provide another callback via the CLI option with: --extra-env-vars ANSIBLE_STDOUT_CALLBACK=default So the output on the console should be print as the default Ansible output. 2/ non regression testing.
Upstream merged, moving to POST.
Resetting the FIV. Quick status: - https://review.opendev.org/773603 has been merged upstream and already included in python-validations-libs-1.0.5-2.20210325011040.6a20089.el8ost[1] [1] https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1549459
*** Bug 1941591 has been marked as a duplicate of this bug. ***
Still seeing the old cli: openstack tripleo validator run --validation check-ram --extra-env-vars ANSIBLE_STDOUT_CALLBACK=default usage: openstack tripleo validator run [--plan PLAN] [--ssh-user SSH_USER] [--limit LIMIT] [--python-interpreter PYTHON_INTERPRETER] [--extra-vars EXTRA_VARS | --extra-vars-file EXTRA_VARS_FILE | --extra-env-vars EXTRA_ENV_VARS | --static-inventory STATIC_INVENTORY] (--validation <validation_id>[,<validation_id>,...] | --group <group>[,<group>,...]) openstack tripleo validator run: error: argument --extra-env-vars: invalid loads value: 'ANSIBLE_STDOUT_CALLBACK=default' It looks like the required tripleoclient is not in the RHOS-16.2-RHEL-8-20210409.n.0 build: yum list installed | grep tripleoclient python3-tripleoclient.noarch 12.4.1-2.20210316010910.7536d5b.el8ost.1 @rhelosp-16.2
All polarion test cases passed for custom callback feature.
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 (RHOSP) 16.2 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-2021:3483
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days