Restoring a degraded Insights Operator
Disconnecting the cluster from the network necessarily causes the cluster to lose the Internet connection. The Insights Operator becomes degraded because it requires access to Red Hat Lightspeed.
For more information, see documentation on "Red Hat Lightspeed".
Use the following procedure to recover from a degraded Insights Operator.
Procedure
-
Edit your
.dockerconfigjsonfile to remove thecloud.openshift.comentry, for example:"cloud.openshift.com":{"auth":"<hash>","email":"user@example.com"} -
Save the file.
-
Update the cluster secret with the edited
.dockerconfigjsonfile:$ oc set data secret/pull-secret -n openshift-config --from-file=.dockerconfigjson=./.dockerconfigjson -
Verify that the Insights Operator is no longer degraded:
$ oc get co insightsExample outputNAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE insights 4.5.41 True False False 3d