Migrations triggered by Maintenance (system) not reported on VM events list - #13931
Migrations triggered by Maintenance (system) not reported on VM events list#13931abh1sar wants to merge 5 commits into
Conversation
…ted on VM events list (apache#663) * Fix the issue: Migrations triggered by Maintenance (system) not reported on VM events list (cherry picked from commit 6b3c42ac0a70097269964237c6ec69a2f6bd5cc4)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #13931 +/- ##
============================================
+ Coverage 17.71% 17.78% +0.06%
- Complexity 15858 15985 +127
============================================
Files 5926 5928 +2
Lines 533613 534389 +776
Branches 65285 65392 +107
============================================
+ Hits 94517 95016 +499
- Misses 428415 428622 +207
- Partials 10681 10751 +70
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@abh1sar 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]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18929 |
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm, on style style/maintainability remark:
there is a lot of create msg string/createEvent sequences. Might pay to create a method for readability.
|
@blueorangutan test |
|
@vladimirpetrov a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
vladimirpetrov
left a comment
There was a problem hiding this comment.
LGTM based on manual testing. Tested with different users VMs using host maintenance mode and different negative cases like insufficient capacity, network errors during migration, etc.
|
[SF] Trillian Build Failed (tid-16799) |
Description
VM migrations triggered by HA (e.g. as a result of host maintenance) were not showing up in the VM events list, since HighAvailabilityManagerImpl scheduled and ran these migrations without emitting any action events, unlike user-initiated migrations.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?