-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Impossible to get a terminal in a workspace #13584
Comments
Hi @slemeur |
I cannot reproduce it either on the latest version. |
I just saw this: with theia:latest and Chrome: browser console shows errors when opening terminal "che-machine-exececu" from the containers view:
and
|
Note that 7.0.0 is with |
@tsmaeder I've just tested
Trying to open terminal for
AFAIK |
the behaviour is the same for every other container as well for me. |
could you add more details then? |
Are you saying this works for you with other containers? You can simply create a workspace with the java-maven devfile on minishift. @akurinnoy |
@tsmaeder yes, |
Which version of che-server are you running and which version of che-theia are you using in the workspace? |
@tsmaeder hello, |
It can be related to #13454, we have adopted images to openshift with this PR: eclipse-che/che-devfile-registry#24 |
I don't use a devfile, I use what's in the dashboard of che-server:nightly. Anyway: I can open a terminal into those images no problem inside the minishift console, so I don't think this is related to images. |
I test java-maven stack, and I can open terminal in |
I create issue for that |
Strangely...when I create the java-maven stack, it pulls che-theia:next. I'm using che-server:nightly and just redeployed che on my minishift. |
Also, the java-maven stack does not check out any projects for me. |
Just did a video chat with @evidolob and we could confirm that it happens for me, but not for him. Possible differences:
I switched to using the minishift add-on to install becuase the operator was broken with respect to the registry url. |
Using minishift 1.34.0 (and its included mini-che addon), you will still have the wrong registry URL, but the workaround once deployed is easy:
More details / steps: https://divby0.blogspot.com/2019/06/deploying-che-7-to-minishift-with-chectl.html I've also posted on that blog how to get the list of images that Che pulls as part of deployment so you can verify if it's pulling latest or nightly: https://divby0.blogspot.com/2019/06/discovering-containers-loaded-by-che-7.html |
@nickboldt strangely, my plugins are working just fine, it's just that I can't open a terminal into them. |
I've tried this today with latest che-theia image - Terminals are being opened with the exception of |
@rhopp That on purpose, |
@rhopp so it's not a fedora vs. Mac issue. Still happens on my machine 100% of the time, though. Spot the difference! |
Terminal does not work on
Having running Che I created a workspace from Tested on Linux Mint 18.3 Sylvia |
If you are using an old version of minishift you may be using an old version of the minishift-addon and that may explain why you cannot do exec commands. And anyway, even in latest minishift, the addon is not the latest one. Can you test deploying Che using the operator (with latest chectl release)? |
@l0rd I cannot deploy Che with the latest version of chectl
and when deploy with helm
Yesterday I played a lot and got the same problem. I was able to deploy minishift only with chectl |
Link with #13881 |
Cannot reproduce after updating minishift from 1.34.0 to 1.34.1 with updating add-ons. |
@vitaliy-guliy with the operator the message say that you don't have enough privileges and propose a workaround:
|
After deploying with '-p operator' and from the latest chectl (as of today), I can open terminals in Chrome. I would, however not close this issue but would propose that we improve feedback to the user when something like this goes wrong. I'm pretty sure some command fails when we lack the role or priviledges. Maybe even a preflight-check page in the Che UI? |
I could reproduce on openshift v4 (OCP and CRC)
and the terminal can't open A fix would be to use |
Should be fixed by recent devfile-registry changes (at least for patched images). |
I beleive the original issue described here has been addressed. From the discussion 2 new issues (probably not for 7.0.0) have emerged:
Closing this issue |
However terminal runs smoothly for NodeJS Angular stack. Maybe some images are not patched? |
@isbur |
Description
It is impossible to me to get a terminal in my workspace, created from the default stacks
Either by going to:
Reproduction Steps
Create a workspace from the default stack java-maven. Add project springboot-http-booster
OS and version:
Che 7 RC 2 on OCP 4.1
Che-theia:nightly
Diagnostics:
The text was updated successfully, but these errors were encountered: