After upgrading my OKD cluster to 4.15.0-0.okd-2024-03-10-010116, I noticed that the certified-operators pod in the namespace 'openshift-marketplace' was constantly crashing. Digging a little deeper, I found this to be the root cause:
[archy@helper01 ~]$ oc -n openshift-marketplace logs pod/certified-operators-ckpbk -c registry-server
time="2024-03-22T07:54:45Z" level=info msg="starting pprof endpoint" address="localhost:6060"
time="2024-03-22T07:54:45Z" level=fatal msg="cache requires rebuild: cache reports digest as \"e1eec9cd4a58db98\", but computed digest is \"8fcd2934467d9214\""
I fixed this by disabling and re-enabling the operator source (certified-operators in my case):
[archy@helper01 ~]$ oc edit operatorhubs.config.openshift.io/cluster
...
spec:
disableAllDefaultSources: true
sources:
- disabled: false
name: community-operators
- disabled: true
name: certified-operators
...
Check the available pods:
[archy@helper01 ~]$ oc -n openshift-marketplace get pods -o wide
Re-enable the certified-operators source again:
[archy@helper01 ~]$ oc edit operatorhubs.config.openshift.io/cluster
...
spec:
disableAllDefaultSources: true
sources:
- disabled: false
name: community-operators
- disabled: false
name: certified-operators
...
The certified-operators pod should now be available again and operators should be able to be installed.
Sources:
Feel free to comment and / or suggest a topic.
Comments
Post a Comment