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
KVM Agent config to reserve dom0 CPUs #7987
Conversation
Codecov Report
@@ Coverage Diff @@
## main #7987 +/- ##
============================================
+ Coverage 28.27% 29.26% +0.99%
- Complexity 29328 30489 +1161
============================================
Files 5100 5100
Lines 358336 358343 +7
Branches 52311 52312 +1
============================================
+ Hits 101305 104859 +3554
+ Misses 243016 239084 -3932
- Partials 14015 14400 +385
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 253 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
...ypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good (but aggree with @GutoVeronezi 's remark)
@blueorangutan package |
@rohityadavcloud a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7098 |
@blueorangutan test |
@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7720)
|
It seems the k8s/cks failures not related to this PR, merging based on packaging, smoketests. Looking at intermittent smoketests failures in github actions, closing-reopening to rekick them. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
2 similar comments
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@mlsorensen can you help resolve the conflict? |
aabee48
to
8bbc06c
Compare
Rebased for LibvirtComputingResource style changes. |
@blueorangutan package |
@rohityadavcloud a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7146 |
@blueorangutan test |
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
@blueorangutan test |
@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7768)
|
@blueorangutan test rocky8 kvm-rocky8 |
@DaanHoogland a [SF] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7793)
|
@blueorangutan test rocky8 kvm-rocky8 |
@rohityadavcloud a [SF] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7833)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM
Description
This PR allows an admin to reserve some hypervisor host CPUs for system use. Another way to think of it is limiting the number of CPUs allocatable to VMs. This can be useful if the admin wants to do other things with the hypervisor's CPU, for example reserve some cores for running hyperconverged storage processes.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Unit test provided, tested locally as well by setting
host.reserved.cpu.count
to various settings, restarting agent, confirming at UI that host's CPU count has changed.