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

VM deploy doesn't respect user running quota #6823

Closed
3 tasks
paczerny opened this issue Dec 16, 2024 · 1 comment · Fixed by OpenNebula/docs#3142
Closed
3 tasks

VM deploy doesn't respect user running quota #6823

paczerny opened this issue Dec 16, 2024 · 1 comment · Fixed by OpenNebula/docs#3142

Comments

@paczerny
Copy link
Member

Description
For regular user. If the RUNNING_* quota is exceeded and he tries to deploy undeployed or stopped VM. The deploy action succeeds and running quota is not updated.

To Reproduce
As regular user:

  1. Create VM:
  2. Undeploy VM
  3. As admin set all running quota limits to 0
  4. Deploy the VM

Expected behavior
The deploy action should fail with quota authorization error

Details

  • Affected Component: Core
  • Hypervisor: --
  • Version: 6.10

Additional context
For master branch it will be solved as side effect of Cluster Quotas

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@paczerny
Copy link
Member Author

onevm recover --recreate may suffer the same issue

paczerny added a commit to OpenNebula/docs that referenced this issue Jan 13, 2025
@paczerny paczerny linked a pull request Jan 13, 2025 that will close this issue
2 tasks
rsmontero pushed a commit to OpenNebula/docs that referenced this issue Jan 15, 2025
rsmontero added a commit that referenced this issue Jan 21, 2025
This feature adds support for VM quotas at cluster level. CLUSTER_IDS
can be set for a VM quota so the admin can limit the number of resources (e.g. VMs) a
user/group can create in a given cluster.

This commit also fixes:

- B #2226
- B #6823

Co-authored-by: Pavel Czerny <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants