Bug 1988349 - Insights report controller - set the corresponding clusteroperator condition correctly
Summary: Insights report controller - set the corresponding clusteroperator condition ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.0
Assignee: Tomas Remes
QA Contact: Dmitry Misharov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-30 10:58 UTC by Tomas Remes
Modified: 2021-10-18 17:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:43:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 473 0 None open Bug 1988349: Insightsreport set corresponding clusteroperator condition correctly 2021-07-30 10:59:02 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:43:43 UTC

Description Tomas Remes 2021-07-30 10:58:21 UTC
The insightsreport controller was trying to update the Insights Operator status, but it actually never happened, because the controller was not registered.

This BZ is to register the controller correctly and introduce a new "InsightsDownloadDegraded" state, when the Insights Operator is not able to download related Insights report from crc.

Comment 2 Dmitry Misharov 2021-08-06 08:58:09 UTC
Verified on 4.9.0-0.ci-2021-08-05-21304.

Verification steps:

1. Add a new entry into a "support" secret in "openshift-config" namespace:
reportEndpoint: http://example.com
2. Restart insights-operator
3. Wait until in the log the following appears: "Failed to download Insights report"
4. Check Insights cluster operator condition: "oc describe clusteroperator/insights"

There should be "InsightsDownloadDegraded" conditions type and its status is "True".

Comment 5 errata-xmlrpc 2021-10-18 17:43:22 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.9.0 bug fix and 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.

https://access.redhat.com/errata/RHSA-2021:3759


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