-
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
Nomad UI Bug: CPU Total Displays as 0 When Task Resources Use cores #24691
Comments
@ynl We have a DefaultResources() block that gets returned to the UI in the event that no resources are defined: https://github.com/hashicorp/nomad/blob/main/api/resources.go#L64-L70 But it looks like the I am thinking about what to show in the UI in this case where the task doesn't have a reserved amount. I could show the CPU's total (like what the client page shows), but that feels a little disingenuous. Might just show it without a divisor. What do you think? ================= @Hendrik-vandenBoogaard-Intergas I am not sure your comment shows the same issue, though it does appear to show a different bug. I'm going to raise that internally and see if anyone else has noticed a CPU reporting change from 1.9.x. |
Nomad version
1.9.4-dev
Operating system and Environment details
Linux
Issue
When a task's resources block specifies CPU using cores, the allocation monitoring UI incorrectly displays "0 Total" CPU under the Resources tab.
Reproduction steps
Expected Result
Actual Result
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: