-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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 scheduler crash when Prioritize Map function failed #68563
Conversation
/assign sig-scheduling-maintainers |
@DylanBLE: GitHub didn't allow me to assign the following users: sig-scheduling-maintainers. Note that only kubernetes members and repo collaborators can be assigned. 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. |
/assign @ravisantoshgudimetla |
/kind bug |
@DylanBLE could you please add a release note explaining your bug fix. |
@kubernetes/sig-scheduling-pr-reviews |
/retest |
/retest |
1 similar comment
/retest |
return schedulerapi.HostPriority{}, errPrioritize | ||
} | ||
|
||
func getNodeRequcePriority(pod *v1.Pod, meta interface{}, nodeNameToInfo map[string]*schedulercache.NodeInfo, result schedulerapi.HostPriorityList) error { |
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.
getNodeReducePriority
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.
good catch
/test pull-kubernetes-e2e-kops-aws |
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.
/lgtm
cc @bsalamat for another look.
/retest |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bsalamat, DylanBLE, Huang-Wei, ravisantoshgudimetla, yastij 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 |
@bsalamat Could you please remove the /hold label and add a milestone for v1.12? Thanks. |
/hold cancel |
Please create another cherry pick PR for 1.12; it will be included in 1.12.1. IMO, we should cherry pick this to avoid crash. |
/test pull-kubernetes-integration |
@DylanBLE: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Automated cherry pick of #68563: fix scheduler crash when Prioritize Map function failed
Automated cherry pick of #68563: fix scheduler crash when Prioritize Map function failed
What this PR does / why we need it:
Fix a bug causing scheduler crash
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #68561
Special notes for your reviewer:
Release note: