question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dogfooding instance fails to start workspace

See original GitHub issue

Describe the bug

The dogfooding instance fails to start the following devfile with a timeout:

apiVersion: 1.0.0
metadata:
  name: linklessbuild2
projects:
  - name: theia
    source:
      startPoint: master
      location: 'https://github.com/eclipse-theia/theia'
      type: git
  - name: vscode-test-extension
    source:
      startPoint: master
      location: 'https://github.com/RomanNikitenko/vscode-test-extension.git'
      type: git
    clonePath: test/vscode-test-extension
  - name: che-theia
    source:
      startPoint: master
      location: 'https://github.com/eclipse-che/che-theia'
      type: git
components:
  - id: ms-vscode/node-debug2/latest
    type: chePlugin
    alias: node-debug
  - mountSources: true
    endpoints:
      - attributes:
          protocol: http
          public: 'true'
        name: theia-dev-flow
        port: 3010
    memoryLimit: 5Gi
    type: dockerimage
    alias: che-dev
    image: 'quay.io/eclipse/che-theia-dev:next'
    env:
      - value: 2504;
        name: THEIA_PLUGIN_ENDPOINT_DISCOVERY_PORT
  - mountSources: true
    memoryLimit: 1Gi
    type: dockerimage
    alias: plugin-host
    image: 'quay.io/eclipse/che-theia-dev:next'
    env:
      - value: 2504;
        name: THEIA_PLUGIN_ENDPOINT_DISCOVERY_PORT
      - value: 'local-dir:///projects/plugins1/'
        name: THEIA_PLUGINS
      - value: /projects/java-11-openjdk
        name: JAVA_HOME
  - id: eclipse/che-theia/next
    memoryLimit: 2048Mi
    registryUrl: 'https://eclipse-che.github.io/che-plugin-registry/main/v3/'
    type: cheEditor
  - id: redhat/java11/latest
    type: chePlugin
  - id: che-incubator/typescript/latest
    memoryLimit: 2Gi
    type: chePlugin
  - id: timonwong/shellcheck/latest
    type: chePlugin

Che version

Steps to reproduce

Make the new workspace with the devfile above.

Expected behavior

The workspace should run.

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

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don’t know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:34 (34 by maintainers)

github_iconTop GitHub Comments

1reaction
benoitfcommented, Jun 30, 2021

Screenshot 2021-06-30 at 17 28 43

anyway I tried your devfile and it’s starting. But you’re referring to master branch that has been renamed to main (leading an error when opening the IDE)

0reactions
ibuziukcommented, Aug 9, 2021

Fixed by removing CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX: from CR operator set it incorrectly after enabling / disabling DevWrorkspace - https://github.com/eclipse/che/issues/20274

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dogfooding - GitLab
Stage Group Category Status Manage Authentication and Authorization Authentication and Authorization Active Manage Authentication and Authorization Permissions Active Manage Authentication and Authorization User Management Active
Read more >
Bug List
ID▽ Product Comp Assignee Status Changed 579614 Platform IDE Platform‑UI‑Inbox NEW 2022‑04‑07 579608 Platform IDE Platform‑UI‑Inbox NEW 2022‑04‑08 579538 Platform IDE Platform‑UI‑Inbox NEW 2022‑05‑04
Read more >
Jenkins & Sonar: fails after "Get boostrap completed"
Cloning a GIT repo with a HelloWorld java in it. But this error keeps appearing: [sonar_teste] $ /var/jenkins_home/tools/hudson.plugins.sonar.
Read more >
Persistent terminal sessions in VS Code | by João Moreno
I used to always keep an instance of iTerm2 next to VS Code; ... is to always be launched on the directory of...
Read more >
Team Foundation Server 2008 SP1 Bug fixes
Can't apply TFS SP1 if AS instance ID (machine\instanceName) != ... Server with 25,000 builds on it fails to run builds successfully.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found