Imprecise log line: LocalQueue for workload didn't exist #3527
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
What would you like to be cleaned:
When AddOrUpdateWorkloadWithoutLock returns false, there are several lines which may log that a LocalQueue does not exist
e.g.
kueue/pkg/controller/core/workload_controller.go
Lines 732 to 734 in 2c8e7da
Unfortunately, this function can also return false when the ClusterQueue is not located
kueue/pkg/queue/manager.go
Lines 336 to 339 in 2c8e7da
We should differentiate whether the ClusterQueue or LocalQueue is missing in the log lines which depend on (directly or indirectly) the return value of this function.
Why is this needed:
To assist with future debugging, and to make our logging more precise.
The text was updated successfully, but these errors were encountered: