Bug 1941591
| Summary: | 16.2 Validator Custom Callback not used | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | David Rosenfeld <drosenfe> |
| Component: | validations-common | Assignee: | Gaël Chamoulaud <gchamoul> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.2 (Train) | CC: | dpeacock, gchamoul |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-31 06:41:58 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: | |||
David, As you already know, I am working on fixing that right now. The command will be the same as Mathieu wrote in https://bugzilla.redhat.com/show_bug.cgi?id=1902736: $ openstack tripleo validator run --validation <validation_name> --extra-env-vars ANSIBLE_STDOUT_CALLBACK=default And you should see this kind of output when this will be fixed: http://pastebin.test.redhat.com/949748 If any doubts, don't hesitate to ping us on #validation-framework channel |
Description of problem: When testing the validator Custom Callback RFE the specified custom callback is not being used. Eg: openstack tripleo validator run --validation check-selinux-mode --extra-env-vars '{"ANSIBLE_STDOUT_CALLBACK": "json"}' gives same output as when no custom callback is specified. Also output is the same when openstack tripleo validator show run is executed. Version-Release number of selected component (if applicable): RHOS-16.2-RHEL-8-20210310.n.1 How reproducible: Every time Steps to Reproduce: 1. Execute: openstack tripleo validator run and specify a custom callback. Output of both that and openstack tripleo validator sh run is the same as if no custum callback was specified. 2. 3. Actual results: openstack tripleo validator run and openstack tripleo validator show run both give the same output with a custom callback as when one is not used. Expected results: openstack tripleo validator run uses the custom callback specified in the command. Additional info: