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.

On minikube, not able to start a workspace with che installed with chectl next

See original GitHub issue

Describe the bug

On a minikube cluster, I’m not able to start a workspace with Che installed with chectl next due to the workspace pod terminating: image

I’m not able to reproduce this issue on an OpenShift environment.

Che version

next (development version)

Steps to reproduce

  1. Start a minikube cluster:
minikube start --addons=ingress --vm=true --cpus=4 --memory=16384
  1. Deploy che with chectl next channel:
chectl server:deploy -p minikube
  1. After installation is complete, open the Che dashboard and start any sample project.

  2. The workspace does not start. The workspace pod terminates due to a failing init container: remote-runtime-injector:

$ kubectl get event --namespace admin-che --field-selector involvedObject.name=workspace63360a48062b4ea8-b548f9cd8-p8nqp
LAST SEEN   TYPE      REASON          OBJECT                                          MESSAGE
5s          Normal    Scheduled       pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Successfully assigned admin-che/workspace63360a48062b4ea8-b548f9cd8-p8nqp to minikube
4s          Normal    Pulling         pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Pulling image "quay.io/eclipse/che-theia-endpoint-runtime-binary:next"
4s          Normal    Pulled          pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Successfully pulled image "quay.io/eclipse/che-theia-endpoint-runtime-binary:next" in 428.49452ms
3s          Normal    Created         pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Created container remote-runtime-injector
3s          Normal    Started         pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Started container remote-runtime-injector
3s          Normal    Killing         pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Stopping container remote-runtime-injector
1s          Normal    Killing         pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp   Stopping container remote-runtime-injector

Expected behavior

The workspace pod should not terminate. The workspace should start and the editor should open.

Runtime

minikube

Screenshots

No response

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dkwon17commented, Jul 25, 2022

I cannot reproduce this issue on chectl next anymore after the DWO update on che-operator, but I experience this issue on chectl stable (Che 7.51) on minikube.

A temporary workaround that I’ve used to get workspaces starting on minikube with Che 7.51 was to update DWO by running:

$ DWO_VERSION=v0.15.2
$ kubectl patch deployment devworkspace-controller-manager -n devworkspace-controller --patch '{"spec": {"template": {"spec": {"containers": [{"name": "devworkspace-controller","image": "quay.io/devfile/devworkspace-controller:'${DWO_VERSION}'", "env": [{"name": "RELATED_IMAGE_devworkspace_webhook_server","value": "quay.io/devfile/devworkspace-controller:'${DWO_VERSION}'"}, {"name": "RELATED_IMAGE_project_clone", "value": "quay.io/devfile/project-clone:'${DWO_VERSION}'"}]}]}}}}';
0reactions
dkwon17commented, Aug 2, 2022

Hi @tolusha thank you for the reminder, we can close this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to start a workspace on fresh minikube/che install [v7 ...
Describe the bug I've created a local minikube cluster following the documentation, and deployed che to it using chectl.
Read more >
Installing Che on Minikube - Eclipse
Installing Che on Minikube · Verify the Che instance status: $ chectl server:status · Navigate to the Che cluster instance: $ chectl dashboard:open....
Read more >
Standalone single-user Eclipse Che instance on Windows 10 ...
It is used for operations on the Che server (start, stop, update, delete), on workspaces (list, start, stop, inject) and to generate devfiles....
Read more >
Exposure of Eclipse-Che - kubernetes ingress - Stack Overflow
It's being deployed via minikube and chectl . Steps to recreate: ... Eclipse Che 'next' has been successfully deployed.
Read more >
Running Eclipse Che on Ubuntu with Minikube - Stian Lågstad
They thought in the future no one would own a "computer". ... The things we need are VirtualBox, kubectl, minikube, helm, and chectl....
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