Bug 1987192 - Disabled state/condition is not consistent
Summary: Disabled state/condition is not consistent
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-29 07:49 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:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 478 0 None open Bug 1987192: Set the disabled state only when the token is removed from the 2021-07-29 07:50:22 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:43:26 UTC

Description Tomas Remes 2021-07-29 07:49:28 UTC
Description of problem:
The disabled state in IO is not consistent. There are following different behaviors:

- Removing token from pull-secret -> disabled state (by conifg) -> gathering is disabled
- Having invalid token -> disabled state (only as Operator condition -> gathering continues
- gathering failed multiple times in a row -> disabled but gathering will continue anyway


Expected results:

I think it makes sense to set the disabled state only in the first case above, because we have "uploaddegraded" state for the second case and the third case doesn't probably require an extra state at the moment since the gathering will continue (after some time) anyway.

Comment 2 Dmitry Misharov 2021-08-05 12:53:21 UTC
Verified on 4.9.0-0.ci-2021-08-05-062416.

The Insights Operator gets disabled when the "cloud" token is removed from pull-secret.

Comment 5 errata-xmlrpc 2021-10-18 17:43:18 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.