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

The parameter for enforcement of the host capacity overcommitment in the one.vm.resize action is not used in oned #6678

Open
3 tasks
OpenNebulaSupport opened this issue Jul 31, 2024 · 0 comments

Comments

@OpenNebulaSupport
Copy link
Collaborator

Description
The parameter responsible for the enforcement of the host capacity overcommitment in the one.vm.resize action:

Type Data type Description
IN Boolean true to enforce the Host capacity is not overcommitted. This parameter is only acknoledged for users in the oneadmin group, Host capacity will be always enforced for regular users.

is not used in oned.
One needs to start using it to let admin users to resize VM capacity with the values exceeding the host capacity.

To Reproduce
Create a VM with the values for CPU and memory to be deployed on the host by the scheduler.
Deploy on the host.
Power off the VM.
Resize its CPU and Memory values to the ones which exceed the host capacity.
The error [one.vm.resize] Not enough CPU: X/Y appears.

Expected behavior
If the host capacity overcommitment is allowed (the corresponding one.vm.resize action parameter is set to true the error as above should not appear but let the admin users to resize VM resources even if they exceed the host capacity.

Details

  • Affected Component: [Core]
  • Version: development

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
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