Bug 1889776 - [validation_json.py callback] Exclude gathering facts action logs in the simplified validation output when it is not failing
Summary: [validation_json.py callback] Exclude gathering facts action logs in the simp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: validations-common
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: z3
: 16.1 (Train on RHEL 8.2)
Assignee: Gaël Chamoulaud
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1889785
TreeView+ depends on / blocked
 
Reported: 2020-10-20 14:34 UTC by Gaël Chamoulaud
Modified: 2020-12-15 18:37 UTC (History)
2 users (show)

Fixed In Version: validations-common-1.1.2-1.20200914180305.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 18:37:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 758943 0 None MERGED Exclude non failing gathering facts action in simplified result 2020-12-09 10:19:01 UTC
Red Hat Product Errata RHEA-2020:5413 0 None None None 2020-12-15 18:37:38 UTC

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


Note You need to log in before you can comment on or make changes to this bug.