Fix: API Thread held forever during force deleting across MS#12968
Fix: API Thread held forever during force deleting across MS#12968nvazquez wants to merge 2 commits intoapache:4.22from
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. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12968 +/- ##
============================================
- Coverage 17.60% 17.60% -0.01%
- Complexity 15677 15678 +1
============================================
Files 5918 5918
Lines 531681 531711 +30
Branches 65005 65008 +3
============================================
- Hits 93623 93622 -1
- Misses 427498 427526 +28
- Partials 10560 10563 +3
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 ✖️ debian ✖️ suse15. SL-JID 17371 |
|
@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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✖️ debian ✔️ suse15. SL-JID 17372 |
|
@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-15815)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm, how can this be tested, @nvazquez
|
@DaanHoogland this was impacting large multi management server environments on force host deletion. While it may be hard to replicate, no regressions must be observed on multiple management server environments when force removing hosts |
Description
This PR fixes indefinite hang on deleteHost operation for multiple management server environments. In a multi-management-server (clustered) environment, a forced deleteHost API call causes the calling MS to hang indefinitely, eventually exhausting API threads and rendering the entire environment unresponsive (502 gateway errors).
Fixed by adding:
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?