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
After updating the device count in the resources stanza, the scheduler does not detect the need for a destructive allocation update, and the updated device count is not reflected in the updated allocation.
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 0.9.0, 0.9.6, 0.10.1
Operating system and Environment details
MacOS, example device plugin
Issue
After updating the device count in the
resources
stanza, the scheduler does not detect the need for a destructive allocation update, and the updated device count is not reflected in the updated allocation.The reason is, at least, that the task update check does not consider the new device field:
https://github.com/hashicorp/nomad/blob/v0.10.1/scheduler/util.go#L399-L404
Reproduction steps
Job file (if appropriate)
Nomad Server logs (if appropriate)
On job update:
The text was updated successfully, but these errors were encountered: