You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting the job with nomad-pack, so I'm not sure if that could be causing any issues too. Happy to move the issue to the nomad-pack repo if that is the case. I am also not sure if this is related to this issue: #14367 but it seems that should be fixed in the version of Nomad I'm using.
Setting the change_mode to "restart" does work.
Reproduction steps
Submit job with template change_mode "script", and a change_script set (possibly only through nomad-pack?)
Hey @RobbieFernandez, it was indeed an issue with Nomad Pack, its API dependency package wasn't updated along with the changes we introduced in Nomad. Apologies—I overlooked this while working on the feature.
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.
Nomad version
Output from
nomad version
Nomad v1.3.5 (1359c25)
I am submitting the job via nomad-pack:
Nomad Pack v0.0.1-techpreview.3 (3b4163b)
Operating system and Environment details
Ubuntu 22.04 LTS
Issue
I'm attempting to submit a Nomad task where a template generates an nginx config file. I'm trying to use the change_mode = "script" and change_script:
I am getting the following error complaining that change_script must be set, which as you can see above it is:
I'm submitting the job with nomad-pack, so I'm not sure if that could be causing any issues too. Happy to move the issue to the nomad-pack repo if that is the case. I am also not sure if this is related to this issue: #14367 but it seems that should be fixed in the version of Nomad I'm using.
Setting the change_mode to "restart" does work.
Reproduction steps
Submit job with template change_mode "script", and a change_script set (possibly only through nomad-pack?)
Expected Result
Job should be validated and sent correctly.
Actual Result
A validation error is raised.
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: