Change in ovirt-engine[master]: scheduler: Select first schedulable VM from candidate pool

rgolan at redhat.com rgolan at redhat.com
Thu Sep 10 08:58:41 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: scheduler: Select first schedulable VM from candidate pool
......................................................................


scheduler: Select first schedulable VM from candidate pool

When enforcing affinity groups, the enforcer should check every possible
candidate until it finds the first schedulable migration instead of
choosing one possible candidate randomly and do nothing if the migration
of that candidate is not schedulable.

Bug-Url: https://bugzilla.redhat.com/1251742
Change-Id: Icd7d039a49252028f8ce14b5ddcb3e9183e62e9a
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/arem/AffinityRulesEnforcer.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/scheduling/arem/AffinityRulesEnforcerTest.java
2 files changed, 71 insertions(+), 36 deletions(-)

Approvals:
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/45346
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd7d039a49252028f8ce14b5ddcb3e9183e62e9a
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Dudi Maroshi <dudi at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tomer Saban <tsaban at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list