-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Failed to run the workspace: "Server 'theia' in container 'theia-idej18' not available." #14517
Comments
I also tried che 6.19.0, it works with java stack, but failed at stack '
|
It seems that both version 7.1.0 and 6.19.0 have some bugs in theia module. not sure if they have the same cause though. |
Hello @peidong-hu . What was your installation method and what kind of Cloud provider did you use for your k8s? |
my k8s runs on baremetal in our lab. loadbalancer is metallb with externalDNS automate the dns entry creation. I used the helm installed it. |
Classifying as a P1 bug: workspaces generally not starting is bed. However, it seems to be restricted to a particular setup. |
@peidong-hu I don't know how to reproduce your issue. Can you try to install che with chectl? |
I met the same problem, I sovled it by config the DNS server of my kubernetes cluster,so that other pod can access to the new created eclipse theia server service. I thought it may have same problem with your DNS, loadbalancer or domain setting. |
Hi Huangli,
I am using metallb as load balancer, external DNS (
https://github.com/kubernetes-incubator/external-dns) and Bind9 as DNS
server to automatically create DNS entry.
For other deployment, all the DNS entries work well.
What DNS , load balancer solution do u use?
Thanks
Peidong
On Sat, Sep 28, 2019, 5:43 AM huangli812 ***@***.***> wrote:
I met the same problem, I sovled it by config the DNS server of my
kubernetes cluster,so that other pod can access to the new created eclipse
theia server service. I thought it may have same problem with your DNS,
loadbalancer or domain setting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14517>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB2LBC4ZWGVOFAWE22LOEJLQL4YNHANCNFSM4IV3KQCA>
.
On Sep 28, 2019 5:43 AM, "huangli812" <notifications@github.com> wrote:
I met the same problem, I sovled it by config the DNS server of my
kubernetes cluster,so that other pod can access to the new created eclipse
theia server service. I thought it may have same problem with your DNS,
loadbalancer or domain setting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14517>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB2LBC4ZWGVOFAWE22LOEJLQL4YNHANCNFSM4IV3KQCA>
.
|
Hi,
Before, I had created DNS records for che-che.mydomain.com, keycloak-che.mydomain.com , plugin-registry-che.mydomain.com and devfile-registry-che.mydomain.com in my DNS server. I've solved the problem by create a *.che.mydomain.com record in my DNS server and run chectl with -b che.mydomain.com. |
That's interesting, so what IP address is your *.che.mydomain.com pointing
to?
In my case, all domains are automatically created during the che
deployment, which seem all working well.
It will be a big mystery about the *.che.mydomain.com in your case, how it
could help?
…On Mon, Sep 30, 2019 at 10:57 AM maciejkozuch ***@***.***> wrote:
Hi,
I've had the same issue. I've configured the version 7 of Che on the OVH
Kubernetes witch chectl tool with the following command:
chectl server:start -b mydomain.com -m -p k8s -s
Before, I had created DNS records for che-che.mydomain.com,
keycloak-che.mydomain.com , plugin-registry-che.mydomain.com and
devfile-registry-che.mydomain.com in my DNS server.
I've solved the problem by create a *.che.mydomain.com record in my DNS
server and run chectl with -b che.mydomain.com.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14517>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB2LBCYG4F3FSUCMEHWFO4TQMIOU5ANCNFSM4IV3KQCA>
.
|
This issue just disappears when I deploy the latest 7.2.0 version. I think we may close it at this moment. |
Fixed by #14052 |
I also encountered the same problem:Error: Failed to run the workspace: "Server 'theia' in container 'theia-idegoz' not available." |
I also encountered the same problem:Error: Failed to run the workspace: "Server 'theia' in container 'theia-idegoz' not available." |
This may still happen due to other unknown kind of http IOException, as the exception has been handled but the exception is relatively broad in such a context, which could correspond to other no-bug cases. |
Describe the bug
Deployed the Eclipse Che 7.1.0 in baremetal k8s v1.11, open dashboard correctly, but when creating workspace, it failed at error 'Error: Failed to run the workspace: "Server 'theia' in container 'theia-idej18' not available.'
Che version
7.1.0
Steps to reproduce
which raised the error 'Error: Failed to run the workspace: "Server 'theia' in container 'theia-idej18' not available."'
or code at here, https://github.com/eclipse/che/blob/22c2385cee95a3c59db2e1337ee402136f034465/wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/workspace/server/hc/ServerChecker.java#L80
those are the only two places which print that error.
Expected behavior
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
helm install -f ./values.yaml
Environment
baremetal k8s cluster v 1.11
Additional context
The text was updated successfully, but these errors were encountered: