Bug 1902736
| Summary: | [RFE] Use custom stdout callback with the validation framework | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | mathieu bultel <mbultel> |
| Component: | python-validations-libs | Assignee: | mathieu bultel <mbultel> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.2 (Train) | CC: | cjeanner, dmacpher, drosenfe, gchamoul, jbuchta, jschluet, mbarnett, mgarciac, nlevinki, shrjoshi, spower |
| Target Milestone: | Alpha | Keywords: | FutureFeature, Triaged |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-validations-libs-1.0.5-2.20210325011040.6a20089.el8ost, python-tripleoclient-12.4.1-2.20210328010120.1a88932.el8ost, validations-common-1.1.2-2.20210210010444.dea7b49.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-09-15 07:10:41 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: | |||
|
Description
mathieu bultel
2020-11-30 14:22:20 UTC
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 |