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

Backport of scheduler: appropriately unblock evals with quotas into release/1.5.x #18854

Merged

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #18838 to be assessed for backporting due to the inclusion of the label backport/1.5.x.

The below text is copied from the body of the original PR.


Fixes #17278

When an eval is blocked due to e.g. cpu exhausted on nodes, but there happens to also be a quota on the job's namespace, the eval would not get auto-unblocked when the node cpu got freed up.

This change ensures, when considering quota during BlockedEvals.unblock(), that the block was due to quota in the first place, so unblocking does not get skipped due to the mere existence of a quota on the namespace.


Overview of commits

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/b-gh-17278/painfully-dashing-mammoth branch 2 times, most recently from e5d3643 to c6cd9f3 Compare October 24, 2023 16:22
@vercel vercel bot temporarily deployed to Preview – nomad October 24, 2023 16:27 Inactive
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui October 24, 2023 16:32 Inactive
@gulducat gulducat merged commit 9f65334 into release/1.5.x Oct 24, 2023
21 checks passed
@gulducat gulducat deleted the backport/b-gh-17278/painfully-dashing-mammoth branch October 24, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants