Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.10, 0.11
Description
In getNodesUtilJSON() is only calculated for resources that are defined on a partition level. These might be the same resources as defined in the nodes or they might not be.
When walking over the node the last node visited will ultimately set the resourceExists flag. If I have a set of 2 nodes one that has the resource GPU defined and one that has not the outcome of the call will be different for the order the nodes get visited.
If the node with GPU is visited last the second loop will be entered with resourceExists true if it was checked first resourceExists will be false.
That means the output of the call is unreliable, it also means that any web UI parts that display the details cannot be relied on.
Attachments
Issue Links
- blocks
-
YUNIKORN-325 Add a chart to display node resource utilization summary
- Closed
- links to