-
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
Che nightly does not start on Windows 10 #3686
Comments
@eivantsov - I have the same issue on my Windows 10 Home OS system as well. Confirmed. |
@eivantsov Have you tried 5.0.0? nightly now uses 5.1.0, so can you check if it persists on 5.0.0 to identify milestone? |
reproduced on mac |
@garagatyi - ok with 5.0.0. So this issue is only on nightly - it's not on our tagged versions. |
@TylerJewell @garagatyi confirmed on mac 5.0.0 tag - works. that means that we will not have this bug in 5.0.1 because we don't cherry-pick those changes. |
Great - dropped the milestone marker. |
oki but we must have this for 5.1.0 |
@garagatyi and myself have found the problem. By default So, in CLI we should detect if it's Mac or Windows and set I have also replied here - #3657 (comment) |
@benoitf @TylerJewell can you take a look if it's possible to fix in CLI? |
@skabashnyuk are you sure it is CLI issue? |
As @eivantsov described we don't set external ip property so it is proper for product to use internal IP in that case. If external IP is set everything works |
Can you explain why this issue does not happen for 5.0 but is happening for nightly? I don't believe this is a cli issue and instead it is an issue for eclipse/che-server which is where all os and vm detection occurs |
yeah I have exactly same feeling that this is not CLI issue because it works for 5.0.0 tag |
We have changes in code that probably changed something. It was quite complex refactoring. QA team didn't find the problem since it doesn't use non-Linux OSs for QA cycle for now. Since Che runs in container it is logical that it doesn't detect OS of host system. And CLI sequence can do OS related checks and put appropriate preperties in che.env. |
@garagatyi I don't see different technical changes in your PR. |
If launcher is not maintained can you create an issue to remove it? Can you point in that issue what files should be removed. Thanks. |
@garagatyi AFAIK in the changes you showed, about che-launcher : #3423 (comment) |
for the 1st one I would expect it's an issue in che aliases |
I just made code behaves as it did before we merged PR with refactoring. |
no there are interesting doc updates. |
I would not count it as a real refactoring. I moved methods a bit, but it is just small code cleanup. |
@benoitf @garagatyi so guys what we are going to do? this is issue is still blocker for 5.1.0. should we remove blocker and move this to next ver after @benoitf changes? or we still wait something for 5.1.0? |
@garagatyi - can you please rework the description to describe the work to be done now? It describes as a bug, but now that it's a different kind of issue, so let's just be explicit on what to do now vs. what we had to do before. |
@garagatyi +1 on your changes. In #3282, I didn't realize that the environment variables were still used to set parameters, and likely the only reason the code worked in 5.0.0 was that While it sounds like this is not a blocker for 5.1.0, I think it is still a good change to make, for correctness' sake. Those env vars should have been removed completely when the switch to defining everything in che.properties (and now che.env) was made. Env vars |
@amisevsk I agree with you. I also didn't notice that. |
Should be fixed already |
…ed in a refactoring but it has not been updated everywhere (eclipse-che#3753) Change-Id: I6da2c6f33cc063dda08b953eb2fab16abe4a0c86 Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Syntax used:
docker run -ti -v /c/Users/Codenvy/che-conf:/data -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-cli:nightly start --pull
When starting a workspace, server and agent can connect to each other, but the browser cannot reach workspace agent:
For whatever reason, it tries to connect to VM's docker0 network interface IP instead of the VM IP which is
10.0.75.2
Playing with CHE_HOST did not help.
It does not happen with eclipse/che-cli:latest
The text was updated successfully, but these errors were encountered: