Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cert_manager]Delete/Recreate openshift marketplace
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]>
- Loading branch information