-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering #9844
base: 4.19
Are you sure you want to change the base?
Conversation
…custom constrained/unconstrained service offering
@blueorangutan package |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9844 +/- ##
============================================
+ Coverage 15.08% 15.11% +0.02%
- Complexity 11203 11226 +23
============================================
Files 5404 5404
Lines 473423 473453 +30
Branches 59987 61557 +1570
============================================
+ Hits 71429 71567 +138
+ Misses 394044 393881 -163
- Partials 7950 8005 +55
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 11417 |
@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-11695)
|
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.
clgtm. didn't test
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.
clgtm
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
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.
LGTM, following the steps I couldn't reproduce
@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 11510 |
Description
This PR fixes NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering.
Fixes #9834 & #9836
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested host rolling maintenance with custom constrained/unconstrained service offering & service offering without host tags, checked the rolling maintenance cmd sent to KVM host without any NPEs.
How did you try to break this feature and the system with this change?