-
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
Could not start job with variables after stopping (UI) #18536
Comments
Is it possible to make hot fix for this? |
Hello, |
Hi folks! This looked at first like duplicate of #17806 which was fixed in #18120 and shipped in Nomad 1.6.2. But it looks like this is specific to HCL variables so there might be something we missed there.
I've marked the issue for triage. We don't comment on when things will be fixed.
If you don't have a problem specifically with HCL variables as in the issue description above (and you're already upgraded to 1.6.2), then please open a new issue describing the problem. |
Hi @urusha — I've been able to test this out and reproduce locally, and it seems like it's less related to HCL variables and more related to the UI not handling failure cases well on stop/start. There's a PR to fix this at #18621 which I think should solve this issue as well. As such, I'm going mark it as resolving this issue as well. |
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.6.2
BuildDate 2023-09-13T16:47:25Z
Revision 73e372a
Operating system and Environment details
debian 12 amd64
Issue
After stopping job with variables, it could not be started again in UI. Nomad 1.6.1 was OK.
Reproduction steps
Create job with variable (used in group/task definition):
There are correct
Job Spec
,HCL Variable Values
inDefinition
tab.Stop the job in UI. Make no changes. Start the job in UI. Get error:
This bash script starts the job successfully:
Now we have only json data in
Definition
. It's ok. If the job is stopped again, on start (UI) we have another error:The same bash script still starts the job.
Expected Result
Job should start.
Actual Result
Error.
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: