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
Linux localhost.localdomain 4.4.6-201.fc22.x86_64 #1 SMP Wed Mar 30 18:30:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Issue
Upon a nomad node-drain -enable -self comand Nomad terminates all system tasks on that node.
After a subsequent nomad node-drain -disable -self Nomad does not reevaluate system jobs, so they will not be restarted automatically.
I would expect an automatic restart of system tasks, as the may be necessary for proper functioning of service and batch tasks that might be scheduled on the reenabled node.
nomad run example.nomad
==> Monitoring evaluation "8d7876db"
Evaluation triggered by job "example"
Allocation "23dcc9ba" created: node "55321c75", group "cache"
Evaluation status changed: "pending" -> "complete"
==> Evaluation "8d7876db" finished with status "complete"
4 drain node:
nomad node-drain -enable -self
5 check that job has been stopped:
nomad node-status -verbose -allocs
ID DC Name Class Drain Status Running Allocs
55321c75-d319-5e76-3c26-3d116783c4ef dc1 localhost.localdomain <none> true ready 0
6 disable node drain:
nomad node-drain -disable -self
7 check that system job is not restarted:
nomad node-status -verbose -allocs
ID DC Name Class Drain Status Running Allocs
55321c75-d319-5e76-3c26-3d116783c4ef dc1 localhost.localdomain <none> false ready 0
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
Nomad v0.3.2-rc1 ('36fa82654df4e9c487da6af419dd4530f5af9d8e+CHANGES')
Operating system and Environment details
Linux localhost.localdomain 4.4.6-201.fc22.x86_64 #1 SMP Wed Mar 30 18:30:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Issue
Upon a
nomad node-drain -enable -self
comand Nomad terminates all system tasks on that node.After a subsequent
nomad node-drain -disable -self
Nomad does not reevaluate system jobs, so they will not be restarted automatically.I would expect an automatic restart of system tasks, as the may be necessary for proper functioning of service and batch tasks that might be scheduled on the reenabled node.
Reproduction steps
1 start Nomad agent:
2 generate example system job:
3 submit job:
4 drain node:
5 check that job has been stopped:
6 disable node drain:
7 check that system job is not restarted:
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
see above
Job file (if appropriate)
see above
The text was updated successfully, but these errors were encountered: