If ResourceCountCheckTask throws an exception the scheduled task is not going to run again until the management servers are restarted. - #7670
Conversation
…ot going to run again until the management servers are restarted. Added try/catch to log the issue, continue processing of the next resources and running again according to the schedule.
|
@blueorangutan package |
|
@shwstppr a [SF] 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
@@ Coverage Diff @@
## main #7670 +/- ##
============================================
+ Coverage 13.21% 13.30% +0.08%
- Complexity 9198 9260 +62
============================================
Files 2728 2735 +7
Lines 257324 257843 +519
Branches 40114 40167 +53
============================================
+ Hits 34016 34313 +297
- Misses 219023 219200 +177
- Partials 4285 4330 +45
... and 13 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6319 |
|
@DaanHoogland renamed methods to recalculateAccountResourceCountInContext and recalculateDomainResourceCountInContext |
|
@blueorangutan package |
|
@mlsorensen a [SF] 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6363 |
|
Let's try again... @blueorangutan test |
|
@mlsorensen a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-6924)
|
|
Errors look unrelated to this code change, they're at the KVM hypervisor layer (maybe due to an earlier commit, seems the live volume migration feature is unsupported in whatever host): lgtm |
Added try/catch to log the issue, continue processing of the next resources and running again according to the schedule.
Description
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested manually