server: run the vm scheduler poll task on only one management server#11573
server: run the vm scheduler poll task on only one management server#11573weizhouapache wants to merge 5 commits intoapache:4.20from
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11573 +/- ##
==========================================
Coverage 16.17% 16.17%
- Complexity 13286 13299 +13
==========================================
Files 5656 5656
Lines 498015 498162 +147
Branches 60406 60443 +37
==========================================
+ Hits 80538 80589 +51
- Misses 408515 408602 +87
- Partials 8962 8971 +9
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:
|
shwstppr
left a comment
There was a problem hiding this comment.
looks good. One comment
server/src/main/java/org/apache/cloudstack/vm/schedule/VMSchedulerImpl.java
Outdated
Show resolved
Hide resolved
|
@blueorangutan package |
|
@shwstppr 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 14843 |
|
@blueorangutan package |
|
@weizhouapache 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 14849 |
server/src/main/java/org/apache/cloudstack/vm/schedule/VMSchedulerImpl.java
Outdated
Show resolved
Hide resolved
|
@blueorangutan test |
|
@shwstppr a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14233)
|
server/src/main/java/org/apache/cloudstack/vm/schedule/VMSchedulerImpl.java
Show resolved
Hide resolved
|
@vishesh92 |
b0a6edb to
e1ddb41
Compare
|
@vishesh92 |
|
@blueorangutan package |
|
@vishesh92 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 14975 |
|
@weizhouapache I created two schedules like below on a single VM and I am still seeing the DB Exception in the logs. The execution of the schedules is happening only one server now.
|
|
thanks @vishesh92 for testing as discussed offline, it is a minor issue. |

Description
This PR fixes #11564
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?