fix: Update overcommit ratio during live VM migration#9178
fix: Update overcommit ratio during live VM migration#9178yadvr merged 2 commits intoapache:4.18apache/cloudstack:4.18from shapeblue:fix-overcommit-vm-migrationshapeblue/cloudstack:fix-overcommit-vm-migrationCopy head branch name to clipboard
Conversation
|
@blueorangutan package |
|
@vishesh92 a [SL] 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #9178 +/- ##
============================================
- Coverage 12.24% 12.24% -0.01%
Complexity 9291 9291
============================================
Files 4698 4698
Lines 414259 414266 +7
Branches 51107 53086 +1979
============================================
- Hits 50709 50707 -2
- Misses 357248 357258 +10
+ Partials 6302 6301 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9797 |
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java
Outdated
Show resolved
Hide resolved
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java
Show resolved
Hide resolved
|
@blueorangutan package |
|
@sureshanaparti a [SL] 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 9807 |
|
@blueorangutan test |
|
@vishesh92 a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-10383)
|
yadvr
left a comment
There was a problem hiding this comment.
LGTM - didn't test it but wondering if it can have any side-effects?
|
@blueorangutan package |
|
@vishesh92 a [SL] 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 10041 |
|
@blueorangutan test |
|
@vishesh92 a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-10538)
|
vladimirpetrov
left a comment
There was a problem hiding this comment.
LGTM based on manual testing, tested on Oracle Linux 9.
|
Merging this based on reviews, smoketests and manual QA. |
apache#9178) During live migration of a VM from between hosts having different cgroup versions (cgroupv2 & cgroup), overcommit ratio is ignored. This PR fixes the above issue.
Description
During live migration of a VM from between hosts having different cgroup versions (cgroupv2 & cgroup), overcommit ratio is ignored.
This PR fixes the above issue.
Steps to reproduce
500.This happens only when cgroup is different on the destination hosts during live migration. Possibly introduced in kvm: Add support for cgroupv2 #8252 .
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Not able to reproduce the issue after the patch.
How did you try to break this feature and the system with this change?