Bug 2066771 - Insights Advisor widget is not in the disabled state when the Insights Operator is disabled
Summary: Insights Advisor widget is not in the disabled state when the Insights Operat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.z
Assignee: Georgii Karataev
QA Contact: ireyes
URL:
Whiteboard:
Depends On: 2039868
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-22 13:05 UTC by Georgii Karataev
Modified: 2022-05-03 07:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-03 07:35:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11218 0 None open [release-4.9] Bug 2066771: Enhance Insights widget empty states 2022-03-23 08:43:34 UTC
Red Hat Product Errata RHBA-2022:1605 0 None None None 2022-05-03 07:35:52 UTC

Description Georgii Karataev 2022-03-22 13:05:02 UTC
Once administrators have opted out of remote health reporting and disabled Insights Operator for their cluster (removing the "cloud.openshift.com" token from the pull-secret - see https://docs.openshift.com/container-platform/4.9/support/remote_health_monitoring/opting-out-of-remote-health-reporting.html), the Prometheus query

"cluster_operator_conditions{name="insights", condition="Disabled"}"

results in `1` (true), which means that the Insights Operator is disabled.

However, the Insights Advisor widget in the main dashboard still shows Insights rule results in the main dashboard for some time. The Insights Advisor widget must consume this Prometheus metric to learn whether Insights Operator is disabled and show the "Disabled" message as long as the Prometheus query results in 1 (true).

Comment 5 errata-xmlrpc 2022-05-03 07:35:33 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 (OpenShift Container Platform 4.9.31 bug fix 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/RHBA-2022:1605


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