-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[rancher desktop bug] kind create cluster hangs on Windows at β’ Writing configuration π ... #3003
Comments
Can you add some of the missing information from the issue template: Environment:
I'm not sure if it will show us much, but you can also try creating the cluster with the kind create cluster -v 9 That may provide additional output that could help pinpoint where things are getting hung. |
OS is Windows, but all commands where executed on
Yes, I did run verbosity level 9, but again, no error was revealed; here comes that output anyway:
|
This probably means That's going to be a bit difficult to debug by github comment, I don't know why it would be hanging. It's possible something is incompatible with the rancher desktop environment, I don't use WSL or rancher desktop, our community maintained WSL2 guide suggests some other approaches. |
How can I test this; what command can I execute via |
Actually, writing the configuration seems to have been successful:
|
does |
Well sure, that could be a last resort; but I would rather prefer that a command logs some meaningful information with flag |
There's no further logging because something hung very early in the cluster bootstrap process, which we've never seen before in years of developing this tool. We're at the last resort unfortunately, something is very wrong in this environment for the command to hang indefinitely. Docker commands should not do that, there's a built in timeout, nor should any of the logic in kind. Maybe we're stuck trying to write the log output in mintty? Otherwise maybe docker in this environment has a very long timeout. After writing out this file to the container, it checks for success, and then it would either fail or move to checking if we need to deal with containerd config. With your given config we don't need to touch containerd config, so it would mark the step done (which is itself just logging that) and move on to executing Due to nobody helping with #1529 we have no Windows CI, and none of the core contributors use Windows locally, so Windows support is best-effort. |
I can understand that this is not heavily used on Windows; I had no issues running it on Linux. I was wondering if
If the next action is executing
But note the following: In order execute any command in the container, I need to prefix all commands with
So I could imagine that the issue at stake might simply be an IO redirection problem. On the topic of debugging, I don't know when I will find the time to setup a Go development environment including the mentioned debugger. |
That might be a problem, and one we haven't seen on other platforms before. However while kind adds |
Maybe one more pointer: When I call
Which is somehow unexpected given that file |
That exit status is coming from |
I think that the problem is explained in #3065 |
Yes, this seems to be rancher-sandbox/rancher-desktop#3239 π |
I'm following the instructions outlined here.
I have Rancher Desktop installed:
I use the configuration from the link above:
When trying to create a new cluster, command execution never finishes and no error is logged either:
Any suggestions how to further debug the issue would be highly appreciated.
The text was updated successfully, but these errors were encountered: