question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image pull-backoff for Plugin Registry when deploying Che via Operator

See original GitHub issue

Describe the bug

When deploying the Che operator on OpenShift from the che-operator repo, the Che-Plugin-Registry container fails with an ImagePullBackOff error. Looking into the error further, it seems that the quay.io/eclipse/che-plugin-registry image doesn’t exist

Che version

Che 7 nightly Latest version of the operator from https://github.com/eclipse/che-operator/

Steps to reproduce

  • Git clone https://github.com/eclipse/che-operator/
  • Run deploy.sh
  • Che-Plugin-Registry will error out with an ImagePullBackOff error:
       Warning  Failed     20s (x3 over 68s)  kubelet, 10.188.170.151  Failed to pull image
       "quay.io/eclipse/che-plugin-registry:nighlty": rpc error: code = Unknown desc = Error reading
       manifest nighlty in quay.io/eclipse/che-plugin-registry: manifest unknown: manifest unknown
    

There also seems to be a typo in the tag in quay.io/eclipse/che-plugin-registry:nighlty, which is causing the error. quay.io/eclipse/che-plugin-registry:nightly does exist.

Expected behavior

The Che operator deploys fine with the deploy.sh script

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)
johns-mbp-3:wtptestfix johncollier$ oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth

Installation method

  • chectl
  • che-operator Latest from che-operator repo
  • minishift-addon
  • I don’t know

Additional context

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kushalg-1212commented, Sep 8, 2022

can we open this again

Command server:deploy failed with the error: Failed to download image, reason: ImagePullBackOff, message: Back-off pulling image “quay.io/eclipse/che-plugin-registry:7.53.0”

deploying with minikube

che@CHE1:~$ chectl server:deploy --platform minikube Enable CLI usage data to be sent to Red Hat online services. More info: https://developers.redhat.com/article/tool-data-collection [y/n]: y › Current Kubernetes context: ‘minikube’ ✔ Verify Kubernetes API…[OK] ✔ 👀 Looking for an already existing Eclipse Che instance ✔ Verify if Eclipse Che is deployed into namespace “eclipse-che”…[Not Found] ↓ Check if OIDC Provider installed [skipped] → Dex will be automatically installed as OIDC Identity Provider ✔ ✈️ Minikube preflight checklist ✔ Verify if kubectl is installed ✔ Verify if minikube is installed ✔ Verify if minikube is running ↓ Start minikube [skipped] → Minikube is already running. ✔ Check Kubernetes version: [Found v1.24.3] ✔ Verify if minikube ingress addon is enabled ↓ Enable minikube ingress addon [skipped] → Ingress addon is already enabled. ✔ Retrieving minikube IP and domain for ingress URLs…[192.168.59.101.nip.io] ✔ Checking minikube version…[1.26.1] ✔ Following Eclipse Che logs ✔ Start following logs…[OK] ✔ Cert Manager v1.8.2 ✔ Install Cert Manager…[OK] ✔ Wait for Cert Manager…[OK] ✔ Create Namespace eclipse-che…[OK] ✔ Deploy Dex ✔ Create namespace: dex…[OK] ✔ Create issuer dex-selfsigned…[OK] ✔ Create certificate: dex-selfsigned…[OK] ✔ Create issuer dex…[OK] ✔ Create certificate: dex…[OK] ✔ Save Dex certificate…[OK: /tmp/dex-ca.crt] ✔ Add Dex certificate to Eclipse Che certificates bundle…[OK] ✔ Create Dex service account…[OK] ✔ Create Dex cluster role…[OK] ✔ Create Dex cluster role binding…[OK] ✔ Create Dex service…[OK] ✔ Create Dex ingress…[OK] ✔ Generate Dex username and password…[OK: admin:admin] ✔ Create Dex configmap…[OK] ✔ Create Dex deployment…[OK] ✔ Wait for Dex is ready…[OK] ✔ Configure API server ✔ Create /etc/ca-certificates directory…[OK] ✔ Copy Dex certificate into Minikube…[OK] ✔ Configure Minikube API server…[OK] ✔ Wait for Minikube API server…[OK] ✔ Deploy Eclipse Che ✔ Create ServiceAccount che-operator in namespace eclipse-che…[OK: created] ✔ Role and RoleBindings…[OK] ✔ Create Role che-operator…[OK: created] ✔ Create RoleBinding che-operator…[OK: created] ✔ Create ClusterRole che-operator…[OK: created] ✔ Create ClusterRoleBinding che-operator…[OK: created] ✔ Create Certificate che-operator-serving-cert…[OK: created] ✔ Create Issuer che-operator-selfsigned-issuer…[OK: created] ✔ Create Service che-operator-service…[OK: created] ✔ Create CRD checlusters.org.eclipse.che…[OK: created] ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed…[OK] ✔ Create deployment che-operator in namespace eclipse-che…[OK: created] ✔ Operator pod bootstrap ✔ Scheduling…[OK] ✔ Downloading images…[OK] ✔ Starting…[OK] ✔ Create CheCluster Custom Resource…[Created] ❯ Post installation checklist ✔ PostgreSQL pod bootstrap ✔ Scheduling…[OK] ✔ Downloading images…[OK] ✔ Starting…[OK] ✔ Devfile Registry pod bootstrap ✔ Scheduling…[OK] ✔ Downloading images…[OK] ✔ Starting…[OK] ❯ Plug-in Registry pod bootstrap ✔ Scheduling…[OK] ✖ Downloading images → Failed to download image, reason: ImagePullBackOff, message: Back-off pulling image “quay.io/eclipse/che-plugin-registry:7.53.0”. Starting Eclipse Che Dashboard pod bootstrap Eclipse Che Gateway pod bootstrap Eclipse Che Server pod bootstrap Eclipse Che status check Create DevWorkspaceOperatorConfig Retrieving Che self-signed CA certificate Prepare post installation output Error: Command server:deploy failed with the error: Failed to download image, reason: ImagePullBackOff, message: Back-off pulling image “quay.io/eclipse/che-plugin-registry:7.53.0”. See details: /home/che/.cache/chectl/error.log. Eclipse Che logs: /tmp/chectl-logs/1662628585053.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImagePullsBackOff and ErrImagePull Errors
ImagePullBackOff / ErrImagePull error means that a pod cannot pull an image from a container registry. Learn to identify and resolve this error....
Read more >
Chapter 1. Customizing the devfile and plug-in registries
Including the plug-in binaries in the registry image; 1.3. Editing a devfile and plug-in at ... Installing the Image Puller on OpenShift using...
Read more >
Kubernetes ImagePullBackOff error: what you need to know
Find out what the ImagePullBackOff error means in Kubernetes, and how to fix ... You've exceeded a rate or download limit on the...
Read more >
Caching images for faster workspace start
The Image Puller is an additional Kubernetes or OpenShift deployment which creates a DaemonSet that can be configured to pre-pull relevant Che workspace...
Read more >
Registries - Minikube - Kubernetes
GCR/ECR/ACR/Docker: minikube has an addon, registry-creds which ... users can pull images from registries deployed inside the cluster by ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found