-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix: NPE thrown on VMware to KVM migration tasks listing for removed VMs #11892
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
Fix: NPE thrown on VMware to KVM migration tasks listing for removed VMs #11892
Conversation
|
@blueorangutan package |
|
@nvazquez 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. |
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.
code 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.
code lgtm
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11892 +/- ##
============================================
+ Coverage 17.56% 18.63% +1.06%
- Complexity 15532 15533 +1
============================================
Files 5909 5464 -445
Lines 529012 491481 -37531
Branches 64604 57704 -6900
============================================
- Hits 92913 91567 -1346
+ Misses 425652 389630 -36022
+ Partials 10447 10284 -163
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15524 |
|
@blueorangutan test |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14711) |
Description
This PR fixes an issue while listing migration tasks if some of the migrated VMs are removed after the migration, resulting on not being able to list the past migration tasks.
Completed migrations:

After removing one of the migrated VMs, the listing failed:

After the fix:

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?