Skip to content
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

the problem that the pending tasks cannot be scheduled during the backfill action #4028

Open
hansongChina opened this issue Feb 21, 2025 · 0 comments · May be fixed by #4029
Open

the problem that the pending tasks cannot be scheduled during the backfill action #4028

hansongChina opened this issue Feb 21, 2025 · 0 comments · May be fixed by #4029
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@hansongChina
Copy link

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.

@hansongChina hansongChina added the kind/bug Categorizes issue or PR as related to a bug. label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant