Bug 1889776

Summary: [validation_json.py callback] Exclude gathering facts action logs in the simplified validation output when it is not failing
Product: Red Hat OpenStack Reporter: Gaël Chamoulaud <gchamoul>
Component: validations-commonAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: low Docs Contact:
Priority: low    
Version: 16.1 (Train)CC: cjeanner, mbultel
Target Milestone: z3Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: validations-common-1.1.2-1.20200914180305.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 18:37:11 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: 1889785    

Description Gaël Chamoulaud 2020-10-20 14:34:41 UTC
The simplified validation_output dictionary generated by the custom callback should only contain failing and warning tasks. When gathering fact, the task result always contains a warnings key set to an empty list. In conclusion, the task logs related to the gathering fact action are included in the simplified output and it should only be included when there is actually real warnings.

Comment 12 errata-xmlrpc 2020-12-15 18:37:11 UTC
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.3 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/RHEA-2020:5413