-
Notifications
You must be signed in to change notification settings - Fork 781
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
[windows]: Kill failed: "not supported by windows"
#1604
Comments
Hey @kirooshu, thanks for the report. This has to come from one of the 2 calls in this block. The consul-template/child/child.go Lines 389 to 399 in ae94024
This is probably fixed on HEAD as I've already changed this on the TLDR; I think this is already fixed on the main branch. Can you build it yourself to test? If not I could probably get you a binary of it. Thanks. |
Thank you. For us, #1428 is more important to actually make sure consul-template does not even kill the nginx process. If you get me a windows build of latest, I can definitely try it and confirm that it is fixed in practice. I can also test when you release the new version as well, unless you think that is too late to confirm with a release? |
I'm working on a 0.29.2 bugfix release now (unrelated to this, but forcing a priority change) and will be releasing that in the next few weeks. I'm going to go with my guess that this is fixed already by the other changes and resolve this as part of that release. If for some reason it is still around we can always reopen this. Thanks. Fixed by #1600 |
Hello @eikenb, unfortunately the error now switched to this:
I even tried to force to a known signal, same problem:
Any ideas? |
Hey @kirooshu... I'm not sure what's up with that. Windows supports SIGTERM and I can't find any issues eyeballing the code. Any chance of a conflicting setting in that config.hcl file? |
This is the config on disk:
and confirming this is what is in the Dockerfile: We run OpenResty 1.21.x on a nanoserver-windows-1809 |
I tried to use |
Forgot to reopen... doing that and updating the title. |
"not supported by windows"
We would still love to find a solution here if possible! |
Consul Template version
Configuration
Command
Debug output
https://gist.github.com/kirooshu/886104e80c8b6c185a803370777803b6
Expected behavior
In this case I would have expected consul-template to be able to terminate the
nginx
process and restart.Actual behavior
2022-07-22T17:11:11.166Z [ERR] (child) Kill failed: OpenProcess: The parameter is incorrect.
The text was updated successfully, but these errors were encountered: