kubevirt / hyperconverged-cluster-operator

Operator pattern for managing multi-operator products
Apache License 2.0
155 stars 153 forks source link

ImagePullBackOff for hco-operator and hco-webhook #2954

Closed manas-suleman closed 5 months ago

manas-suleman commented 6 months ago

What happened: ImagePullBackOff error for hco-operator and hco-webhook. Both pods fail to pull the required image.

What you expected to happen: hco-operator and hco-webhook pull the image successfully, create the container and pod status changes to Running.

How to reproduce it (as minimally and precisely as possible): I'm using the following documentation: https://docs.okd.io/4.15/virt/install/installing-virt.html These are the steps I followed:

  1. Install OKD4.15 bare-metal with 3 masters.
  2. On OperatorHub, Install "KubeVirt HyperConverged Cluster Operator" with the following options,
    • Update channel: Stable
    • Version: 1.10.0
    • Installation Mode: All namespaces on the cluster (default)
    • Installed Namespace: Operator recommended Namespace: kubevirt-hyperconverged
    • Update approval: Automatic
  3. Check pod creation. All pods go into "Running" state except hco-operator and hco-webhook.

Additional context: Add any other context about the problem here.

Environment:

orenc1 commented 6 months ago

Thanks for reporting, @manas-suleman ! It looks like the stable channel in the community operators catalog is pointing to an obsolete version, v1.10.0. We'll fix it. In the meanwhile you can use channel 1.11.0 or 1.10.7 for the desired version. cc: @nunnatsa

manas-suleman commented 6 months ago

Thanks for the update @orenc1. I can confirm successful installation using 1.10.7 version. Cheers for that.

nunnatsa commented 6 months ago

As far as I can see, the catalog.json file within the catalog-source pod, contains both the 1.10.7 and the stable channel. In the new versions, after we fixed the index image issues we had, we no longer create "stable" channel. I guess that that why the new channel was added instead of replacing the old stable channel.

However, the new fixed channel is also the default channel. When installing this from OKD UI, the rigth channel is set by default.

Still, we need to find out how to remove the old channel. @orenc1 - any idea?

tiraboschi commented 5 months ago

HCO v1.11.1 is now the head of the stable channel as for: https://operatorhub.io/operator/community-kubevirt-hyperconverged/stable/kubevirt-hyperconverged-operator.v1.11.1