Open gabesaba opened 1 week ago
it seems like /good-first-issue
@mimowo: This request has been marked as suitable for new contributors.
Please ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
I'll pick it up :)
/assign
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. https://github.com/kubernetes-sigs/kueue/blob/2c8e7da1a23f2bc7218a2f08a2c9858a316fb053/pkg/controller/core/workload_controller.go#L732-L734
Unfortunately, this function can also return false when the ClusterQueue is not located https://github.com/kubernetes-sigs/kueue/blob/2c8e7da1a23f2bc7218a2f08a2c9858a316fb053/pkg/queue/manager.go#L336-L339
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.