Skip to content
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

Not able to start Theia based workspace #18552

Closed
2 of 16 tasks
skabashnyuk opened this issue Dec 7, 2020 · 11 comments
Closed
2 of 16 tasks

Not able to start Theia based workspace #18552

skabashnyuk opened this issue Dec 7, 2020 · 11 comments
Labels
area/che-server area/install Issues related to installation, including offline/air gap and initial setup kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@skabashnyuk
Copy link
Contributor

skabashnyuk commented Dec 7, 2020

Describe the bug

Not able to start Theia based workspace

Che version

  • 7.23.0-SNAPSHOT

Steps to reproduce

  1. deploy latest che-server
  2. Start workspace
apiVersion: 1.0.0
metadata:
  name: wksp-custom-zkuna
  1. You'll see Theia's loading screen

Expected behavior

Fully loaded workspace

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Знімок екрана 2020-12-07 о 15 55 51

Знімок екрана 2020-12-07 о 17 34 48

Знімок екрана 2020-12-07 о 18 00 42

Знімок екрана 2020-12-07 о 18 03 26

Installation method

  • chectl/7.22.2 darwin-x64 node-v10.23.0
  • chectl server:start --installer=operator --platform=openshift -n che

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify

Eclipse Che Logs

 at processTicksAndRejections (internal/process/task_queues.js:97:5)                                                                                                                                      │
│ 2020-12-07 13:58:08.606 root ERROR Error: Unable to get workspace containers. Cause: [object Object]                                                                                                         │
│     at CheServerWorkspaceServiceImpl.<anonymous> (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:193:31)                                               │
│     at step (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:62:23)                                                                                     │
│     at Object.throw (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:43:53)                                                                             │
│     at rejected (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:35:65)                                                                                 │
│     at processTicksAndRejections (internal/process/task_queues.js:97:5)                                                                                                                                      │
│ 2020-12-07 13:58:20.894 root ERROR Error: Unable to get workspace containers. Cause: [object Object]                                                                                                         │
│     at CheServerWorkspaceServiceImpl.<anonymous> (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:193:31)                                               │
│     at step (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:62:23)                                                                                     │
│     at Object.throw (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:43:53)                                                                             │
│     at rejected (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:35:65)                                                                                 │
│     at processTicksAndRejections (internal/process/task_queues.js:97:5)                                                                                                                                      │
│ 2020-12-07 13:58:33.182 root ERROR Error: Unable to get workspace containers. Cause: [object Object]                                                                                                         │
│     at CheServerWorkspaceServiceImpl.<anonymous> (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:193:31)                                               │
│     at step (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:62:23)                                                                                     │
│     at Object.throw (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:43:53)                                                                             │
│     at rejected (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:35:65)                                                                                 │
│     at processTicksAndRejections (internal/process/task_queues.js:97:5)                                                                                                                                      │
│ 2020-12-07 13:58:49.566 root ERROR Error: Unable to get workspace containers. Cause: [object Object]                                                                                                         │
│     at CheServerWorkspaceServiceImpl.<anonymous> (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:193:31)                                               │
│     at step (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:62:23)                                                                                     │
│     at Object.throw (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:43:53)                                                                             │
│     at rejected (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:35:65)                                                                                 │
│     at processTicksAndRejections (internal/process/task_queues.js:97:5)                                                                                                                                      │
│ 2020-12-07 13:59:05.950 root ERROR Error: Unable to get workspace containers. Cause: [object Object]                                                                                                         │
│     at CheServerWorkspaceServiceImpl.<anonymous> (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:193:31)                                               │
│     at step (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:62:23)                                                                                     │
│     at Object.throw (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:43:53)                                                                             │
│     at rejected (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:35:65)                                                                                 │
│     at processTicksAndRejections (internal/process/task_queues.js:97:5)                                                                                                                                      │
│ 2020-12-07 13:59:18.238 root ERROR Uncaught Exception:  Params: [object Object]                                                                                                                              │
│ 2020-12-07 13:59:26.430 root ERROR Error: Unable to get workspace containers. Cause: [object Object]                                                                                                         │
│     at CheServerWorkspaceServiceImpl.<anonymous> (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:193:31)                                               │
│     at step (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:62:23)                                                                                     │
│     at Object.throw (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:43:53)                                                                             │
│     at rejected (/home/theia/node_modules/@eclipse-che/theia-remote-api/lib/node/che-server-workspace-service-impl.js:35:65)

Additional context

@skabashnyuk skabashnyuk added kind/bug Outline of a bug - must adhere to the bug report template. area/editor/theia Issues related to the che-theia IDE of Che area/che-server labels Dec 7, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Dec 7, 2020
@azatsarynnyy
Copy link
Member

I've just checked it on my local minikube with cheimage=quay.io/eclipse/che-server:nightly.
I don't see any unusual behavior.

@tsmaeder
Copy link
Contributor

tsmaeder commented Dec 7, 2020

@skabashnyuk could we get the full devfile?

@azatsarynnyy
Copy link
Member

Start workspace
apiVersion: 1.0.0
metadata:
name: wksp-custom-zkuna

I guess it is full.

@sparkoo
Copy link
Member

sparkoo commented Dec 7, 2020

I was able to run latest master on minikube

@skabashnyuk
Copy link
Contributor Author

I guess it is full.

Yes.

@skabashnyuk
Copy link
Contributor Author

this issue about OpenShift 4.6

@skabashnyuk
Copy link
Contributor Author

skabashnyuk commented Dec 7, 2020

84f83ab - not working
b562d09 - not working, rightside #17945
c366ed6 - working Left side
8f7083b - working

Знімок екрана 2020-12-07 о 19 29 23

@ibuziuk ibuziuk added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Dec 7, 2020
@tolusha tolusha added this to the 7.23 milestone Dec 8, 2020
@tolusha tolusha mentioned this issue Dec 8, 2020
56 tasks
@tolusha
Copy link
Contributor

tolusha commented Dec 8, 2020

We are investigating the issue.
To turn off internal network usage update the CR:
spec.server.useInternalClusterSVCNames: false

@azatsarynnyy azatsarynnyy added area/install Issues related to installation, including offline/air gap and initial setup and removed area/editor/theia Issues related to the che-theia IDE of Che labels Dec 8, 2020
@azatsarynnyy
Copy link
Member

fyi: the issue for better error message when Che API is not reachable from Che Theia #18556

@tolusha
Copy link
Contributor

tolusha commented Dec 8, 2020

I've tested on OpenShift 4.6 I couldn't reproduce the issue.

$ chectl version
chectl/0.0.20201204-next.4c50037 linux-x64 node-v10.23.0

The infrastructure in question had inconsistency of image versions:

  • che-operator 7.22.2
  • che-server 7.23.0-SNAPSHOT
  • che-theia latest

@ibuziuk
Copy link
Member

ibuziuk commented Dec 17, 2020

Hit the same issue against Hosted Che and the suggested solution was to add the internal links explicitly in the template that would point to the external one - https://github.com/redhat-developer/rh-che/pull/2027/files

This sounds like overkill. I would expect that if internal links are not specified the external communication will be used. Opened #18643

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server area/install Issues related to installation, including offline/air gap and initial setup kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

7 participants