You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the backfill action, in the loop of pending tasks, if a previous task fails to match a node or an exception occurs when calling the PrePredicateFn method, all subsequent tasks will stop being scheduled.
Steps to reproduce the issue
1.First, create a pod. Set the requested CPU and memory resources of this pod to 0. Schedule this pod using the backfill action. Set an affinity, such as nodeSelector, to prevent this pod from being scheduled to any node.
2.Then create another pod named pod2. Set the requested CPU and memory resources of this pod2 to 0, and schedule this pod using the backfill action.
3.At this point, pod2 cannot be scheduled.
Describe the results you received and expected
What is expected is that pod1 cannot be scheduled, while pod2 can be scheduled normally.
Description
During the backfill action, in the loop of pending tasks, if a previous task fails to match a node or an exception occurs when calling the PrePredicateFn method, all subsequent tasks will stop being scheduled.
Steps to reproduce the issue
1.First, create a pod. Set the requested CPU and memory resources of this pod to 0. Schedule this pod using the backfill action. Set an affinity, such as nodeSelector, to prevent this pod from being scheduled to any node.
2.Then create another pod named pod2. Set the requested CPU and memory resources of this pod2 to 0, and schedule this pod using the backfill action.
3.At this point, pod2 cannot be scheduled.
Describe the results you received and expected
What is expected is that pod1 cannot be scheduled, while pod2 can be scheduled normally.
What version of Volcano are you using?
v1.10
Any other relevant information
https://github.com/volcano-sh/volcano/blob/master/pkg/scheduler/actions/backfill/backfill.go#L74
https://github.com/volcano-sh/volcano/blob/master/pkg/scheduler/actions/backfill/backfill.go#L80
The break statements in the above two lines of code should be changed to continue to allow subsequent tasks to be scheduled normally.
The text was updated successfully, but these errors were encountered: