Bug 1882361

Summary: Retrieve and expose the latest report for the cluster
Product: OpenShift Container Platform Reporter: Jose Luis Segura <jsegural>
Component: Insights OperatorAssignee: Jose Luis Segura <jsegural>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, inecas, scuppett, tremes
Target Milestone: ---   
Target Release: 4.7.0   
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-02-24 15:19:20 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 Jose Luis Segura 2020-09-24 11:21:12 UTC
The Operator should retrieve the lstest report available for the cluster from Smart Proxy running in cloud.redhat.com and expose it to be used by other services that can take advantage of that info.

The report should be exposed using Prometheus metrics

Comment 6 Pavel Šimovec 2020-11-02 15:40:29 UTC
Needed to verify if the new metrics are available:
# HELP health_statuses_insights [ALPHA] Information about the cluster health status as detected by Insights tooling.
# TYPE health_statuses_insights gauge
health_statuses_insights{metric="critical"} 0
health_statuses_insights{metric="important"} 0
health_statuses_insights{metric="low"} 1
health_statuses_insights{metric="moderate"} 0
health_statuses_insights{metric="total"} 1

VERIFIED on 4.7.0-0.nightly-2020-10-27-051128

Comment 10 errata-xmlrpc 2021-02-24 15:19:20 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633