2.0.7+ent Alloc Count on clients list resets to zero
Nomad version
Nomad 2.0.7+ent
BuildDate 2026-09-18T20:27:27Z
Revision 6302b1f568a..Issue
I suspect this relates to the HTTP/2 changes in 2.0.6 and newer. When opening the Clients page in the UI, initially the # Allocs column shows sane numbers. After the page has been left open for a while, all numbers in this column reset to 0, and remain that way until the page is refreshed. Upon refresh, the counts restore back to sane values and will remain visible on the page for a while and then reset back to 0 again.
During this time, all requests logged by the browser developer tools have status code 200, and there is typically one request to allocations?index=... and nodes?index=... pending at any one time.
Reproduction steps
- Run jobs on at least one node
- Open the Clients view in UI, note correct allocation counts
- Wait a few minutes for blocking query to return
- Observe alloc count resetting to zero
- Wait for next blocking query to return
- Observe counts remain at zero
Expected Result
Allocation count should periodically update to reflect reality without needing to refresh page.
Actual Result
Page starts out with valid data, becomes invalid after time.
While the client allocation count being incorrect is an mostly just an inconvenience, this perhaps speaks to some deeper issue with the page being re-rendered after updates. There may be other data which is not updating too, with this just being the most visible effect.
Source: hashicorp/nomad