Unable to create and start a workspace using minikube due to "Server 'theia' in container 'theia-idet0b' not available."
See original GitHub issueDescribe 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
minikube config set vm-driver virtualbox
minikube start --memory=8192
chectl server:start --platform minikube
- Open http://che-che.192.168.99.101.nip.io/dashboard/#/
- Click “Get Started” in the left-hand menu
- Select the “Java Spring Boot” project with the description “Java stack with OpenJDK and Spring Boot Petclinic demo application”
- 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
andkubectl 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:
- Created 4 years ago
- Comments:13 (9 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The link to the doc has been fixed in the next version of chectl. https://www.eclipse.org/che/docs/pages/che-7/administration-guide/proc_authenticating-to-the-che-server-using-openid.html
The docs have been completely revamped. I believe the new URL is this: https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#authenticating-to-the-che-server-using-openid_authenticating-to-the-che-server