Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
We have found lots of unexpected WARN log:
WARN objects/node.go:169 Node update triggered over allocated node ...
For this problem, I think below if-condition in node.go#refreshAvailableResource is opposite:
// check if any quantity is negative: a nil resource is all 0's if resources.StrictlyGreaterThanOrEquals(sn.availableResource, nil) { log.Logger().Warn("Node update triggered over allocated node", zap.String("available", sn.availableResource.String()), zap.String("total", sn.totalResource.String()), zap.String("occupied", sn.occupiedResource.String()), zap.String("allocated", sn.allocatedResource.String())) }
Attachments
Issue Links
- links to