Skip to content

404 allocation control resource quotas permissions #409

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

Merged
merged 31 commits into from
Feb 13, 2025

Conversation

kthare10
Copy link
Collaborator

@kthare10 kthare10 commented Feb 13, 2025

  • Support for maintaining usage allocation for various resources
  • Also, has code to enforce the limits but is currently disabled
  • How QuotaMgr Controls Allocations
    • When a user requests resources (e.g., VM, container, FPGA, etc.):
      • enforce_quota_limits checks if the requested resources fit within available quotas.
      • If within limits, the request proceeds; otherwise, it is denied with an explanation.
    • When a reservation is created or modified:
      • update_quota logs the resource allocation.
      • The resource usage is updated to reflect the newly allocated duration.
    • When a reservation is deleted or expires:
      • update_quota returns unused resource hours to the available quota.
      • Prevents over-allocation and ensures fairness.

@kthare10 kthare10 self-assigned this Feb 13, 2025
@kthare10 kthare10 linked an issue Feb 13, 2025 that may be closed by this pull request
@kthare10 kthare10 requested a review from paul-ruth February 13, 2025 20:21
@kthare10 kthare10 merged commit b8468be into main Feb 13, 2025
4 checks passed
@kthare10 kthare10 deleted the 404-allocation-control-resource-quotas-permissions branch February 13, 2025 20:58
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.

Allocation Control/ Resource Quotas/ Permissions
2 participants