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

quota enforcement can be bypassed by failed deployment #10694

Closed
tgross opened this issue Jun 3, 2021 · 1 comment
Closed

quota enforcement can be bypassed by failed deployment #10694

tgross opened this issue Jun 3, 2021 · 1 comment

Comments

@tgross
Copy link
Member

tgross commented Jun 3, 2021

When allocations stop on the client, they update their status on the server and this credits the allocation's resources to any quota limits. If a job that goes over quota has an allocation that stops due to a placement failure (ex. wrong Docker image), submitting a new version of the job may cause the scheduler to issue an eviction for the stopped allocation. This double-credits the allocation's resources to the quota limit, and can result in a job bypassing quotas.

This issue has been fixed and will ship in Nomad Enterprise 1.1.1, and will be backported to Nomad 1.0.x.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant