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

Wrong system disk quota after onevm snapshot-create on done VM #5852

Closed
3 tasks done
paczerny opened this issue Jun 1, 2022 · 0 comments
Closed
3 tasks done

Wrong system disk quota after onevm snapshot-create on done VM #5852

paczerny opened this issue Jun 1, 2022 · 0 comments

Comments

@paczerny
Copy link
Member

paczerny commented Jun 1, 2022

Description
onevm snapshot-create on VM in DONE state (owned by not oneadmin) returns error (wrong state) but the system_disk_quota is counted for the VM owner.

To Reproduce
As userA:

  • create template
  • instantiate it
  • make sure the VM is owned by userA
  • terminate the VM
  • call onevm snapshot-create
  • check user quotas, the system disk quota should be 0

Expected behavior
Correctly count system disk quotas

Details

  • Affected Component: Quotas
  • Hypervisor: --
  • Version: 6.4 and master

Additional context
Double check quotas also for other errors returned by onevm snapshot-create. Review also onevm snapshot-delete operation.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@paczerny paczerny added this to the Release 6.4.1 milestone Jun 1, 2022
@paczerny paczerny self-assigned this Jun 1, 2022
paczerny pushed a commit to OpenNebula/docs that referenced this issue Jun 1, 2022
rsmontero pushed a commit to OpenNebula/docs that referenced this issue Jun 2, 2022
rsmontero pushed a commit that referenced this issue Jun 7, 2022
rsmontero pushed a commit that referenced this issue Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants