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.

Unable to create and start a workspace using minikube due to "Server 'theia' in container 'theia-idet0b' not available."

See original GitHub issue

Describe the bug

I’m trying to follow https://www.eclipse.org/che/docs/che-7/running-che-locally/, using minikube with virtualbox (8192 memory), and I’m stuck on the Error: Failed to run the workspace: "Server 'theia' in container 'theia-idet0b' not available." error when trying to create a workspace. The workspace I’m trying to use is the Spring Boot with petclinic starter.

Che version

➜ chectl version
chectl/7.9.0 linux-x64 node-v10.19.0
➜ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
➜ minikube version
minikube version: v1.7.3
commit: 436667c819c324e35d7e839f8116b968a2d0a3ff

Steps to reproduce

  1. minikube config set vm-driver virtualbox
  2. minikube start --memory=8192
  3. chectl server:start --platform minikube
  4. Open http://che-che.192.168.99.101.nip.io/dashboard/#/
  5. Click “Get Started” in the left-hand menu
  6. Select the “Java Spring Boot” project with the description “Java stack with OpenJDK and Spring Boot Petclinic demo application”
  7. Watch the workspace being created… logs:
Saving log of installed plugins
All plugin artifacts have been successfully downloaded
Pulling image "quay.io/eclipse/che-java8-maven:7.9.0"
Successfully pulled image "quay.io/eclipse/che-java8-maven:7.9.0"
Created container tools
Started container tools
Pulling image "quay.io/eclipse/che-sidecar-java:8-0cfbacb"
Successfully pulled image "quay.io/eclipse/che-sidecar-java:8-0cfbacb"
Created container vscode-java39c
Started container vscode-java39c
Pulling image "quay.io/eclipse/che-machine-exec:7.9.0"
Successfully pulled image "quay.io/eclipse/che-machine-exec:7.9.0"
Created container che-machine-execxgz
Started container che-machine-execxgz
Pulling image "quay.io/eclipse/che-theia:7.9.0"
Successfully pulled image "quay.io/eclipse/che-theia:7.9.0"
Created container theia-idet0b
Started container theia-idet0b
Error: Failed to run the workspace: "Server 'theia' in container 'theia-idet0b' not available."

Expected behavior

I expected the workspace to be created, so that I could try developing with che.

Runtime

  • kubernetes (include output of kubectl version)
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
  • minikube (include output of minikube version and kubectl version)
minikube version: v1.7.3
commit: 436667c819c324e35d7e839f8116b968a2d0a3ff

Screenshots

NA

Installation method

  • [X]

chectl was installed following instructions from https://www.eclipse.org/che/docs/che-7/installing-the-chectl-management-tool/ . I used the command bash <(curl -sL https://www.eclipse.org/che/chectl/).

Environment

  • my computer
    • Linux. Ubuntu 18.04.4 LTS

Eclipse Che Logs

Please let me know if I should provide this.

Additional context

Nothing more to add.

Issue Analytics

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

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Run `che-server` with custom `che-theia` - Theia Community
The workspace tried to load. Timed out after sometime. Workspace container exited. IDE part in browser was blank. Are the above steps okay?...
Read more >
Kubectl and Minikube problem - Unable to connect to the server
Something is happening to the kubernetes services. You can try minikube ssh to get into the minikube VM and in there, run top...
Read more >
'There is no way we can keep coding local': GitPod's cloud ...
The GitPod service uses containers running in a Kubernetes cluster, providing an ephemeral development environment, with developers ...
Read more >
Chapter 4. Customizing developer environments
Creating a workspace from a publicly accessible standalone devfile using HTTP ... Che-Theia plug-ins run either on the client side or on the...
Read more >
eclipse/che-machine-exec - Docker Image
Run docker container with che-machine-exec manually: ... You can create new Eclipse CHE workspace with integrated Theia IDE from stack 'Theia IDE on...
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