-
Notifications
You must be signed in to change notification settings - Fork 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
Nomad v1.2.4 template source path escapes alloc directory #11902
Comments
Also seeing this issue on 1.2.4. Downgrading to 1.2.3 no longer has this issue. |
Here's my nomad client config.
My job spec is from a private repository so I can't give that verbatim, but this is the gist of it. My syntax may be off here because I'm copying and pasting from a gigantic job spec.
To run the job I do:
|
@pgporada I was able to replicate this on 1.2.4. Thanks for the extra configuration to help me get there faster! |
@DerekStrickland hi! Can you please tell me, we need to wait 1.2.5 for this fix? |
Hi @bubejur! Yes, I'm afraid you will either have to wait for 1.2.5 or build from source. My deepest apologies for an inconvenience this causes you. |
@DerekStrickland can you also provide me something like ETA for 1.2.5? |
I can't give you a specific date but we are actively working on getting a release out for this and a couple other patches soon. |
thanks a lot, will be waiting for it! |
@DerekStrickland hi! I was updated nomad to 1.2.5 yesterday, but this issue still exists:
|
@bubejur that looks to be a different error than the original issue I updated to 1.2.5 and no longer have the error
Thanks for the fix! |
Hi @axsuul @bubejur had logged a separate issue that I closed as being a duplicate of this one. At the time, it did look like the same root cause. In that issue, he did cite this error message about plugins. Thanks for helping though! I initially had the same thought until I double checked his other issue. I've re-opened issue #11923 to track those efforts. |
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. |
Nomad version
Nomad v1.2.4
Operating system and Environment details
Linux node99 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Issue
I specify several variables for files spread across my host filesystem. The variables are used for the
source
in a template block in a task. Each client is currently running withdisable_file_sandbox = true
inraw_exec
mode.Reproduction steps
Run a job with a variable in template source.
Expected Result
The job spec gets run.
Actual Result
The jobs fail to start with this error
I then downgraded servers and clients to Nomad v1.2.3 and did not encounter this error.
The text was updated successfully, but these errors were encountered: