-
Notifications
You must be signed in to change notification settings - Fork 329
Error message from nomad-jobspec does not identify problem(s) with job template #1675
Comments
I think I saw this in development and I think its an HCL bug where its failing to notify an unavailable var error. We'll get this fixed! |
I'm chasing down the HCL bug, but that is just masking the real issue here which is that Escaping everything is kind of painful in Nomad so I'm thinking 🤔 about how we should make the ergonomics around this a lot less painful. |
This moves us to an unreleased version but this fixes a panic that people are hitting today: #1675
Hey there @ragesoss - thanks for opening an issue with Waypoint! It looks like the error you mentioned is now fixed in a recent release of Waypoint. We had another request for supporting input variables with Nomad here: #1979. Since the error is fixed, I'm going to go ahead and close this issue. It looks like the solution proposed on that issue should accomplish what you are trying to do with your Waypoint and Nomad setup. If you have any more additional context that you'd like to share, please feel free to include it on the issue! Thanks again ✨ |
@briancain thanks! I'm getting a better error message now, but I'm still stuck with moving from Now it says:
I couldn't find any details or examples on how to access |
Hit this today too, same problem as @ragesoss Did you find any solution? |
@siccous no, I'm still using |
For me double $ works as escaping: "$${node.unique.name}" At least it seems to work and I successfully migrated to Nomad jobspec. |
Describe the bug
I'm trying out the new
nomad-jobspec
plugin as (perhaps) the blessed way to deploy a Nomad job, in place of what we've been doing. It doesn't work, but the error message doesn't give me a good idea of why.Working version with this job template:
Replacement version with nomad-jobspec:
The jobspec template appears to be incompatible with nomad-jobspec, but the error message didn't help me identify what that problem might be:
Expected behavior
If there's a problem with the jobspec template, I expect an error message that gives a clear indication of the problem in terms of the .hcl or .tpl files involved.
Waypoint Platform Versions
The text was updated successfully, but these errors were encountered: