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

Theia terminal must report the error if request to machine-exec fails #17663

Closed
1 of 22 tasks
sleshchenko opened this issue Aug 19, 2020 · 3 comments
Closed
1 of 22 tasks
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@sleshchenko
Copy link
Member

Describe the bug

From time to time it happens that Theia terminal is empty and there is no clue for an user what is the cause.
In my case, debugging shows that che-machine-exec fails to create exec with error:

message: "Get https://172.30.0.1:443/api/v1/namespaces/labs-infra/pods?fieldSelector=status.phase%3DRunning&labelSelector=che.workspace_id%3Dworkspacepvsrvhkshe46hw5g: http2: no cached connection was available"

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

there is no clear scenario how to reproduce it, but it should be easy to build custom che-machine-exec that always return error and face the same.

Expected behavior

Theia (terminal extension) reports the issue when it happens.

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

Screenshot_20200819_164328

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)
  • other: please specify

Eclipse Che Logs

Additional context

@sleshchenko sleshchenko added kind/bug Outline of a bug - must adhere to the bug report template. area/plugins labels Aug 19, 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 Aug 19, 2020
@tolusha tolusha added severity/P2 Has a minor but important impact to the usage or development of the system. area/editor/theia Issues related to the che-theia IDE of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. area/plugins labels Aug 20, 2020
@azatsarynnyy azatsarynnyy added this to the 7.19 milestone Aug 20, 2020
@azatsarynnyy azatsarynnyy mentioned this issue Aug 26, 2020
13 tasks
@azatsarynnyy azatsarynnyy modified the milestones: 7.19, 7.20 Sep 15, 2020
@azatsarynnyy azatsarynnyy mentioned this issue Sep 17, 2020
18 tasks
@azatsarynnyy azatsarynnyy modified the milestones: 7.20, 7.22, 7.23 Oct 21, 2020
@andrewyuau
Copy link

I am getting the same issue, @sleshchenko did you manage to fix the terminal not coming up issue?

image

@sleshchenko
Copy link
Member Author

@andrewyuau the cause may be different, this issue is just about exposing failed requests to a user.
Could you check the che-machine-exec container logs? If you don't manage to solve the issue you face, please register a new one.

@che-bot
Copy link
Contributor

che-bot commented Jun 7, 2021

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 7, 2021
@che-bot che-bot closed this as completed Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

5 participants