-
Notifications
You must be signed in to change notification settings - Fork 228
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
Fix kueue crashing when clearing outdated assignment on log level 6 #1644
Fix kueue crashing when clearing outdated assignment on log level 6 #1644
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/assign @tenzen-y @alculquicondor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch :)
/lgtm
/approve
LGTM label has been added. Git tree hash: a16044797d89027dd110a95eb9d35318526c75e7
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mimowo, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -238,7 +238,6 @@ func lastAssignmentOutdated(wl *workload.Info, cq *cache.ClusterQueue) bool { | |||
// FlavorAssignmentMode. | |||
func AssignFlavors(log logr.Logger, wl *workload.Info, resourceFlavors map[kueue.ResourceFlavorReference]*kueue.ResourceFlavor, cq *cache.ClusterQueue, counts []int32) Assignment { | |||
if wl.LastAssignment != nil && lastAssignmentOutdated(wl, cq) { | |||
wl.LastAssignment = nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah it just moved below
/hold cancel
I think this needs to be cherry-picked to 0.5? |
Why is this PR merged in spite of |
Yes, we should do it: kueue/pkg/scheduler/flavorassigner/flavorassigner.go Lines 239 to 241 in 921b794
|
/cherry-pick release-0.5 |
@tenzen-y: new pull request created: #1645 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Because the bot was not able to put the label on time. |
It makes sense. |
What type of PR is this?
/kind bug
/kind regression
What this PR does / why we need it:
Kueue is crashing currently when the log is at level 6.
This is the error log:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?