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.4.x #18853

Merged
merged 1 commit into from
Oct 24, 2023

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.4.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/formerly-immense-frog branch from 9e64775 to 9d4135a Compare October 24, 2023 16:22
@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/b-gh-17278/formerly-immense-frog branch from 677699f to fa4c264 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:31 Inactive
@gulducat gulducat merged commit a190a9c into release/1.4.x Oct 24, 2023
23 of 25 checks passed
@gulducat gulducat deleted the backport/b-gh-17278/formerly-immense-frog 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.

None yet

2 participants