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

windows tasks not starting after upgrade to 1.5.4 #17131

Closed
valodzka opened this issue May 9, 2023 · 2 comments
Closed

windows tasks not starting after upgrade to 1.5.4 #17131

valodzka opened this issue May 9, 2023 · 2 comments
Labels

Comments

@valodzka
Copy link
Contributor

valodzka commented May 9, 2023

Operating system and Environment details

Windows server 2022

Issue

Job start fails with:

Driver Failure | failed to launch command with executor: rpc error: code = Unknown desc = failed to create stdout: The parameter is incorrect.

Reproduction steps

Simple raw_exec job without any special settings.

This is probably related https://github.com/hashicorp/nomad/pull/16962/files#diff-3319d35cf84f1373ae3ebeb8ba7d96d936205b7e4fa3489000949505e6aec0acR72-R73

@schmichael
Copy link
Member

schmichael commented May 10, 2023

Please upgrade to Nomad 1.5.5. Nomad 1.5.4 should not be used. 1.5.4 contained a bug which implicitly disabled logs on allocations: #17087

That being said, the bug you ran into still exists on Nomad 1.5.5 if you explicitly disable logs with: logs { disabled = true }. I #17148 to track that issue.

Tasks should work by default, and disabling logs will be unavailable on Windows until #17148 is resolved. Sorry for the hassle!

Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants