Open Oloremo opened 3 years ago
Thanks for reporting @Oloremo, indeed this behavior is odd for system
jobs, whereas service
and batch
jobs correctly warn on plan
and refuse to be scheduled due to the missing DC. I'm thinking we should have Nomad treat system
jobs the same as the others.
The same story here.
Suddenly, my job stopped working, even though its status still shows status as "RUNNING" but in detailed view, I see "0 Running".
And I can't view any logs because I get "20 failed" allocations, but when I click on them, Nomad reports "No allocations have been placed."
Also I see "3 Not Scheduled" but no idea why. Clicking on it redirects me to "Clients' page without any extra details
It's a total mess. How can I properly view the logs?
P.S. DC naming is correct
Nomad version
Nomad v1.0.4 (9294f35f9aa8dbb4acb6e85fa88e3e2534a3e41a)
Operating system and Environment details
Centos 7
Issue
I started
type=system
job and it reports like a running without any allocations. I still try to figure out what is wrong with my definition but I wonder if that is expected from the presentation\UX point of view.Reproduction steps
Expected Result
No allocation == not running?..
Actual Result
No allocation == running
Job file
https://gist.github.com/Oloremo/ce78aae9b1957e06db067f97628fa6d4
UPD: Ok so the issue is the following:
If you specify a non-existent
dc
in thesystem
job definition it will be "created":And allocation will be in the state described above.
So here we observe at least a few issues:
plan
.