Bug 1913725 - Refactor Insights Operator Plugin states
Summary: Refactor Insights Operator Plugin states
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.7.0
Assignee: Georgii Karataev
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-07 13:37 UTC by Georgii Karataev
Modified: 2021-02-24 15:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: show Unavailable state in Insights Operator Plugin for OCP WebConsole when Insights Operator is disabled or an error occurred Reason: before Insights Operator Plugin was showing "0 issues found" with OK state when Insights Operator was disabled or an error occurred. Result: changed state icons and title for these two states and enhanced user experience.
Clone Of:
Environment:
Last Closed: 2021-02-24 15:50:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Insights tab shows not available and question icon (73.60 KB, image/png)
2021-01-18 07:53 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7747 0 None closed Bug 1913725: Refactor Insights Operator Plugin states 2021-01-18 07:03:58 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:51:13 UTC

Description Georgii Karataev 2021-01-07 13:37:13 UTC
Description of problem:

When insights-operator is removed, the secret is removed or any other reason we stop receiving data we should display question mark icon in the Insights tab.

Comment 2 Yadan Pei 2021-01-18 07:53:27 UTC
Created attachment 1748380 [details]
Insights tab shows not available and question icon

1. Set insights operator unmanaged
$ oc get -o json clusterversion version | jq .spec.overrides
[
  {
    "group": "apps/v1",
    "kind": "Deployment",
    "name": "insights-operator",
    "namespace": "openshift-insights",
    "unmanaged": true
  }
]

2. Scale deployment replicas to 0 and check Insights tab, it is showing 'Not available' with question mark

Verified on 4.7.0-0.nightly-2021-01-17-153039

Comment 5 errata-xmlrpc 2021-02-24 15:50:58 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


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