Che: Failed to run the workspace: "Server 'theia' in container 'theia-idead0' not available."

Created on 12 Nov 2020  路  8Comments  路  Source: eclipse/che

arewsmaster kinbug severitP1 statuanalyzing

All 8 comments

Reverting single-host change fixed the problem at least for new users. My existing user is now in some broken state.

@alexeykazakov can not reproduce on OSD v4 with the following configuration - https://raw.githubusercontent.com/codeready-toolchain/toolchain-infra/master/config/operators/che/che_cluster.yaml

@alexeykazakov do you have che-server logs ? And also events from Che server namespace.

This PR https://github.com/eclipse/che/pull/18083 would help a lot in discovering the cause but I did not manage to finalize it.
Platform team - if you have a chance to apply suggested changes and test it, would be really cool.

When trying to reproduce then try deploy it without the single host thing first. Then set it to single host. Our setup is not a fresh installation as Ilya tried on OSD.

I just installed a fresh CRW 2.5.0 operator and faced the same issue.

The logs from the operator che server pod:

2020-11-17 04:33:06,757[nio-8080-exec-9]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 480]   - Starting workspace 'alkazako-osiotest/spring-boot-http-booster-y8atf' with id 'workspaceif7jc5fpsuvdl0nt' by user 'alkazako-osiotest'
2020-11-17 04:33:30,594[aceSharedPool-1]  [INFO ] [.i.k.KubernetesInternalRuntime 652]  - Debug workspace startup. Will watch the logs of 'workspaceif7jc5fpsuvdl0nt'
2020-11-17 04:36:55,149[aceSharedPool-1]  [WARN ] [.i.k.KubernetesInternalRuntime 255]  - Failed to start Kubernetes runtime of workspace workspaceif7jc5fpsuvdl0nt.
org.eclipse.che.api.workspace.server.spi.InfrastructureException: Server 'theia' in container 'theia-idebnv' not available.
    at org.eclipse.che.api.workspace.server.hc.ServerChecker$ServerCheckingTask.run(ServerChecker.java:122)
    at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
    at java.base/java.util.TimerThread.run(Timer.java:506)
2020-11-17 04:37:00,815[aceSharedPool-1]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 984]   - Workspace 'alkazako-osiotest:spring-boot-http-booster-y8atf' with id 'workspaceif7jc5fpsuvdl0nt' start failed

@alexeykazakov could you provide the logs from the che-server pod?

Sorry, the logs above are from the Che server pod. Not from the operator pod as I said.

Was this page helpful?
0 / 5 - 0 ratings