Run `che-server` with custom `che-theia`

  1. che-server running locally in my PC (followed steps mentioned in https://che.eclipse.org/running-eclipse-che-on-kubernetes-using-docker-desktop-for-mac-5d972ed511e1).

  2. Built che-theia image (followed https://github.com/eclipse/che-theia/blob/master/README.md)

  3. Added che-theia image to docker registry and pushed it to docker registry.

  4. docker image ls shows the image as 172.19.218.215:5000/myorganization/myfirsttheia (I specified the name of the image like this while tagging/adding to registry).

  5. Opened che-server in browser.

  6. Clicked New Workspace using stach che7-preview (Workspace.next sidecars and Theia as IDE)-> edited the configuration.

  7. Under configuration tab, changed the IDE component in stack => “editor”: “http://172.19.218.215:5000/myorganization/myfirsttheia.

  8. went ahead and opened the workspace.

  9. The workspace tried to load. Timed out after sometime. Workspace container exited. IDE part in browser was blank.
    Are the above steps okay? Please advice.

[original thread by rs]

[rs]

‘che-server’ version is 7.0.0-beta-4.0

[rs]

Error message : Error: Failed to run the workspace: “Plugins installation process timed out”

[rs]

Did it not find meta.yaml of a plugin or editor from Che plugin registry?

[rs]

kubectl logs for the above issue:
2019-05-17 07:33:20,327[nio-8080-exec-3] [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 366] - Starting workspace ‘che/wksp-s4rb’ with id ‘workspacecmy3gkx98ofiy0la’ by user ‘che’
2019-05-17 07:36:29,550[aceSharedPool-0] [WARN ] [.i.k.KubernetesInternalRuntime 245] - Failed to start Kubernetes runtime of workspace workspacecmy3gkx98ofiy0la. Cause: Plugins installation process timed out
2019-05-17 07:36:29,603[aceSharedPool-0] [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 785] - Workspace ‘che:wksp-s4rb’ with id ‘workspacecmy3gkx98ofiy0la’ start failed

kubectl events for the above issue:
2019-05-17 13:03:20 +0530 IST Normal Successfully assigned mkdir-workspacecmy3gkx98ofiy0la to docker-for-desktop
2019-05-17 13:03:20 +0530 IST Normal MountVolume.SetUp succeeded for volume “pvc-0c971daf-76dc-11e9-b45a-00155d192a01”
2019-05-17 13:03:20 +0530 IST Normal MountVolume.SetUp succeeded for volume “default-token-lzgf2”
2019-05-17 13:03:21 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:24 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:24 +0530 IST Normal Container image “centos:centos7” already present on machine
2019-05-17 13:03:25 +0530 IST Normal Created container
2019-05-17 13:03:26 +0530 IST Normal Started container
2019-05-17 13:03:29 +0530 IST Normal Successfully assigned workspacecmy3gkx98ofiy0la.che-plugin-broker to docker-for-desktop
2019-05-17 13:03:29 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:29 +0530 IST Normal MountVolume.SetUp succeeded for volume “broker-config-volumeibrfb9”
2019-05-17 13:03:29 +0530 IST Normal MountVolume.SetUp succeeded for volume “pvc-0c971daf-76dc-11e9-b45a-00155d192a01”
2019-05-17 13:03:29 +0530 IST Normal MountVolume.SetUp succeeded for volume “che-workspace-token-qgb24”
2019-05-17 13:03:29 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:32 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:32 +0530 IST Normal pulling image “eclipse/che-init-plugin-broker:v0.16”
2019-05-17 13:03:35 +0530 IST Normal Successfully pulled image “eclipse/che-init-plugin-broker:v0.16”
2019-05-17 13:03:36 +0530 IST Normal Created container
2019-05-17 13:03:37 +0530 IST Normal Started container
2019-05-17 13:03:38 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:39 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:39 +0530 IST Normal pulling image “eclipse/che-unified-plugin-broker:v0.16”
2019-05-17 13:03:42 +0530 IST Normal Successfully pulled image “eclipse/che-unified-plugin-broker:v0.16”
2019-05-17 13:03:43 +0530 IST Normal Created container
2019-05-17 13:03:44 +0530 IST Normal Started container
2019-05-17 13:03:45 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local
2019-05-17 13:03:46 +0530 IST Warning Search Line limits were exceeded, some search paths have been omitted, the applied search line is: che.svc.cluster.local svc.cluster.local cluster.local

You’re barking up the wrong tree here: Che folks hang out here: https://mattermost.eclipse.org/eclipse/channels/eclipse-che