Bug 1995913 - (release-4.9) OCM controller must update operator status
Summary: (release-4.9) OCM controller must update operator status
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.9.0
Assignee: Tomas Remes
QA Contact: Dmitry Misharov
Depends On:
TreeView+ depends on / blocked
Reported: 2021-08-20 06:59 UTC by Tomas Remes
Modified: 2021-09-07 06:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-09-07 06:34:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 486 0 None None None 2021-08-20 07:01:35 UTC

Description Tomas Remes 2021-08-20 06:59:38 UTC
Description of problem:

The current OCM controller (if enabled via TechPreview feature set) is pulling down the SCA certs from the OCM API. We would like to update the operator status (operator conditions) based on successful or unsuccessful retrieval of the SCA certs (if the controller is not able to retrieve the certs after some number retries then mark the operator as degraded). 

Actual results:

No status is updated.

Expected results:

Status is marked either as healthy or degraded when the controller was not able to retrieve the SCA certs after some number of retries (likely using exp. backoff).

Comment 3 Dmitry Misharov 2021-09-07 06:34:12 UTC
Verification failed on 4.9.0-0.ci-2021-09-06-064221.
After discussion with Tomas Remes we decided to create a new BZ.

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