Skip to content
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

Delete/Recreate openshift marketplace pods #1482

Merged
merged 1 commit into from
Apr 17, 2024

Commits on Apr 17, 2024

  1. [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]>
    raukadah committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    2b60416 View commit details
    Browse the repository at this point in the history