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
[FEATURE] Full or partial Quota usage prevents Live Migration of VM when additional VM exceeds Quota #3124
Comments
After creating VMs, because the virt-component in the Pod requires a certain memory overhead, resulting in a higher actual quota of Pod memory than expected from the VM configuration, however, there is a possibility that the number of VMs created by the user or the number of simultaneous migrations will not reach the expectation. Example: |
Pre Ready-For-Testing Checklist
|
Automation e2e test issue: harvester/tests#741 |
Verified this feature has been implemented. Test Information
Verify Steps
|
Describe the bug
Fully or partially utilizing the Quota set on the Project and/or Namespace prevents the Live Migration of VMs.
The example below illustrates the problem and prevents the Live Migration of a VM.
The expectation is that Live Migration could be done, but unfortunately the below message was seen.
///
(combined from similar events): Error creating pod: pods "virt-launcher-awhs-int-pool1-0c06dbc6-c7wnq-7rdpv" is forbidden: exceeded quota: default-gmp6p, requested: limits.memory=17405661185, used: limits.memory=52216983555, limited: limits.memory=64Gi
///
Also, even when a user fully utilizes its quota, the expectation is that the existing VMs are allowed to live migrate to another node.
Expected behavior
The text was updated successfully, but these errors were encountered: