Uh oh!
There was an error while loading. Please reload this page.
Fix NPE on findHostsForMigration when no suitable hosts are found - #13138
Conversation
winterhazel
commented
May 8, 2026
@blueorangutan package |
blueorangutan
commented
May 8, 2026
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #13138 +/- ##
=========================================
Coverage 18.08% 18.09% - Complexity 16718 16722 +4
=========================================
Files 6037 6037 Lines 542546 542546 Branches 66432 66431 -1 =========================================
+ Hits 98146 98165 +19 + Misses 433378 433358 -20 - Partials 11022 11023 +1
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:
|
findHostsForMigration when no suitable hosts are foundfindHostsForMigration when no suitable hosts are foundblueorangutan
commented
May 8, 2026
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17786 |
weizhouapache
commented
May 11, 2026
@blueorangutan test |
blueorangutan
commented
May 11, 2026
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
weizhouapache
commented
May 11, 2026
verified OK |
blueorangutan
commented
May 12, 2026
[SF] Trillian test result (tid-16067)
|
Uh oh!
There was an error while loading. Please reload this page.
weizhouapache
commented
May 12, 2026
merging, the test failures are unrelated |
Description
This patch fixes a NPE
findHostsForMigrationintroduced in #9074 that occurs when no suitable hosts are found (suitableHostsis null) due to a missing return statement.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
In a test environment with two hosts,
host-1andhost-2:host-1.host-2.Before the patch, I would get a NPE in step 3. Now, I do not receive the NPE anymore.