Bug 1986724

Summary: (release-4.7) Insights status card shows nothing when 0 issues found
Product: OpenShift Container Platform Reporter: Georgii Karataev <gkaratae>
Component: Insights OperatorAssignee: Georgii Karataev <gkaratae>
Status: CLOSED ERRATA QA Contact: ireyes
Severity: high Docs Contact:
Priority: urgent    
Version: 4.7CC: aos-bugs, dmisharo, inecas, mklika, spadgett, tremes
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Insights widget expected at least one issue hitting the cluster to display the pie chart. Consequence: Zero issues were resulting in empty widget content without any further information for a user. Fix: Show the pie chart and additional links for a case when no issues hit a cluster. Result: when a cluster is healthy, the widget shows a chart with Total issues = 0 and the further link to OCM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-01 18:23:56 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:
Bug Depends On: 1949338    
Bug Blocks:    
Description Flags
No content for the Insights widget
Fixed Insights status card none

Description Georgii Karataev 2021-07-28 08:18:35 UTC
Created attachment 1806587 [details]
No content for the Insights widget

Insights status when 0 issues found

Description of problem:
when 0 issues found in Insights, click 'Insights' status card just show a title 'Insights status'

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. check Insights status card content when 0 issues found

Actual results:
1. after clicking the Insights status card, we can only see title `Insights status` 

Expected results:
1. maybe we can add some text or more details

Comment 3 Dmitry Misharov 2021-08-23 09:05:30 UTC
Created attachment 1816761 [details]
Fixed Insights status card

Verified on 4.7.0-0.nightly-2021-08-21-153346.
Insights status card is not empty when a cluster has 0 issues.

Comment 6 errata-xmlrpc 2021-09-01 18:23:56 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 (Important: OpenShift Container Platform 4.7.28 security 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.