list hosts API fix, when any stale entries exists on storage_pool_host_ref for the removed pools#9852
Conversation
…host_ref for the removed pools
|
@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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9852 +/- ##
============================================
- Coverage 15.08% 15.08% -0.01%
+ Complexity 11203 11200 -3
============================================
Files 5404 5404
Lines 473423 473423
Branches 59987 60194 +207
============================================
- Hits 71429 71426 -3
- Misses 394044 394048 +4
+ Partials 7950 7949 -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]: ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 11429 |
|
@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]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11430 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11699)
|
|
@blueorangutan package |
1 similar comment
|
@blueorangutan package |
|
@blueorangutan test |
|
@blueorangutan package |
|
@DaanHoogland 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 ✔️ debian ✔️ suse15. SL-JID 11526 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11766)
|
|
@blueorangutan test keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-12230)
|
|
tested by removing a primary store and re-inserting one of the storage_pool_host_ref entries for it. listing went on fine from cmk. |
…t_ref for the removed pools (apache#9852)
…t_ref for the removed pools (apache#9852)
Description
The list hosts API fails with NPE, when any stale entries exists on storage_pool_host_ref for the removed pools. This PR fixes it.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually verified the fix, with entry on storage_pool_host_ref for removed pool.
How did you try to break this feature and the system with this change?