Fix NPE while checking for user data provider#10255
Fix NPE while checking for user data provider#10255DaanHoogland merged 2 commits intoapache:4.19from
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10255 +/- ##
=========================================
Coverage 15.16% 15.16%
- Complexity 11300 11303 +3
=========================================
Files 5408 5408
Lines 473912 473929 +17
Branches 57844 57851 +7
=========================================
+ Hits 71855 71871 +16
+ Misses 394025 394023 -2
- Partials 8032 8035 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@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 12189 |
|
@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-12181)
|
Pearl1594
left a comment
There was a problem hiding this comment.
Overall LGTM, just one comment.
server/src/main/java/com/cloud/network/element/VirtualRouterElement.java
Outdated
Show resolved
Hide resolved
|
@sureshanaparti , the issue speaks of deletion of a VR in an edge zone. Are there special requirements for testing this fix concerning making an edge zone? |
c941c6e to
69d45d0
Compare
@DaanHoogland create edge zone and don't register direct download systemvm template. Create shared network and try to deploy VM (The network creation fails as there is no direct download systemvm template to create the VR, at this point - destroy the VR of the shared network). |
|
@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 12307 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
There was a problem hiding this comment.
Thanks @sureshanaparti. LGTM. Code has been made more defensive to prevent NPEs.
|
[SF] Trillian test result (tid-12279)
|
Description
This PR fixes NPE issues while checking for user data provider.
Fixes #9847
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?