Description of problem:
openshift-marketplace/community-operator pods are not healthy immediately after install
Version-Release number of selected component (if applicable):
Multiple reports on various installs. My cluster was upi-on-osp.
Steps to Reproduce:
1. Install cluster
2. Look at Events
3. Inspect Pods
31m Normal Pulling pod/community-operators-wkj6m Pulling image "quay.io/openshift-community-operators/catalog:latest"
31m Warning Failed pod/community-operators-wkj6m Failed to pull image "quay.io/openshift-community-operators/catalog:latest": rpc error: code = Unknown desc = Error reading manifest latest in quay.io/openshift-community-operators/catalog: unauthorized: access to the requested resource is not authorized
31m Warning Failed pod/community-operators-wkj6m Error: ErrImagePull
30m Normal BackOff pod/community-operators-wkj6m Back-off pulling image "quay.io/openshift-community-operators/catalog:latest"
Pods would be healthy because they can pull images
podman pull quay.io/openshift-community-operators/catalog:latest
Trying to pull quay.io/openshift-community-operators/catalog:latest...
unauthorized: access to the requested resource is not authorized
Error: unable to pull quay.io/openshift-community-operators/catalog:latest: Error initializing source docker://quay.io/openshift-community-operators/catalog:latest: Error reading manifest latest in quay.io/openshift-community-operators/catalog: unauthorized: access to the requested resource is not authorized
*** Bug 1872282 has been marked as a duplicate of this bug. ***
On 4.6.0-0.nightly-2020-08-25, which has the PR merged (OLM version: 0.16.0, git commit: c3852d57c86707deb80c042c2155ad82c2d9628f), I see that now the bundle index image is being used instead:
oc get pods community-operators-nb7m6 -n openshift-marketplace -o yaml | grep image:
- image: registry.redhat.io/redhat/community-operator-index:latest
However, I'm only seeing teiid operator package in this index, but that is happening because operators are currently being migrated to new bundle format as mentioned here https://bugzilla.redhat.com/show_bug.cgi?id=1872112#c1.
oc get packagemanifest -l catalog=community-operators
NAME CATALOG AGE
teiid Community Operators 35m
Marking as VERIFIED.