-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] When upgrading from crc 2.33 -> 2.34 OperatorHub shows no items #4109
Comments
Looks like marketplace operator is not able to resync the pull secret because if you check the pod description you will find auth error. Easy fix for it delete all the pods from
|
Looks like there was issue on OLM side https://issues.redhat.com/browse/OCPBUGS-31645 have more info and operator-framework/operator-lifecycle-manager#3197 upstream PR which is merged. So hopefully when we have latest version of OLM it will be fixed automatic. |
Thanks for the update @praveenkumar! |
I faced the same problem. After updating the version, Operator Hub disappeared. My environment is macOS 14.4 Intel based. |
You will need tihs workaround #4109 (comment) until at least the next crc release. |
On crc Zuul reproducer job, cert-manager operator installation is failing with following error. ``` the cert-manager CRDs are not yet installed on the Kubernetes API server ``` The cert-manager operator get installed from openshift marketplace. After digging deep, we found that pods under openshift-marketplace namespace are hitting CrashLoopBackOff due to following error. ``` failed to populate resolver cache from source redhat-operators/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = ``` Based on crc-org/crc#4109 (comment), Delete and recreating openshift-marketplace pods fixes the issue. Since OCP is deployed after pre_infra hook and cert_manager role is called before post_infra. There is no way to run this workaround as a hook. It would be best to include under openshift_setup role. Signed-off-by: Chandan Kumar <[email protected]>
On crc Zuul reproducer job, cert-manager operator installation is failing with following error. ``` the cert-manager CRDs are not yet installed on the Kubernetes API server ``` The cert-manager operator get installed from openshift marketplace. After digging deep, we found that pods under openshift-marketplace namespace are hitting CrashLoopBackOff due to following error. ``` failed to populate resolver cache from source redhat-operators/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = ``` Based on crc-org/crc#4109 (comment), Delete and recreating openshift-marketplace pods fixes the issue. Since OCP is deployed after pre_infra hook and cert_manager role is called before post_infra. There is no way to run this workaround as a hook. It would be best to include under openshift_setup role. Signed-off-by: Chandan Kumar <[email protected]>
On crc Zuul reproducer job, cert-manager operator installation is failing with following error. ``` the cert-manager CRDs are not yet installed on the Kubernetes API server ``` The cert-manager operator get installed from openshift marketplace. After digging deep, we found that pods under openshift-marketplace namespace are hitting CrashLoopBackOff due to following error. ``` failed to populate resolver cache from source redhat-operators/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = ``` Based on crc-org/crc#4109 (comment), Delete and recreating openshift-marketplace pods fixes the issue. Since OCP is deployed after pre_infra hook and cert_manager role is called before post_infra. There is no way to run this workaround as a hook. It would be best to include under openshift_setup role. Signed-off-by: Chandan Kumar <[email protected]>
Also faced this on Windows. I deleted the Pods that were saying crashloopback and reload/saved YAML in openshift-marketplace project to get OperatorHub working again. |
It seems that on the CI, we have many times same issue with the OpenShift Marketplace ImagePullBackOff error. This commit is applying solution proposed by the CRC community [1]. [1] crc-org/crc#4109 (comment) Change-Id: I1572332044dad4787df685e0e6a1e6204aac2187
General information
crc setup
before starting it (Yes/No)? YesCRC version
CRC status
NOTE: despite this status, crc seems to be working fine.
CRC config
Host Operating System
Steps to reproduce
crc
2.33, upgrade to 2.34crc stop ; crc delete --cache
crc setup
crc start
Expected
OperatorHub to be available
Actual
OperatorHub empty with no items.
community-operators
,redhat-operators
,redhat-marketplace
,certified-operators
pods crashing with incorrect SHA value errors.Logs
No logs collected. Errors detect in the cluster, not crc directly.
This was fixed by disabling and renabling the sources, eg.
The text was updated successfully, but these errors were encountered: