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

Piotr Kliczewski 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@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, 77 insertions(+), 38 deletions(-) Approvals: Roman Mohr: Verified Jenkins CI: Passed CI tests Roy Golan: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/45987 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Icd7d039a49252028f8ce14b5ddcb3e9183e62e9a Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.6 Gerrit-Owner: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski@gmail.com> Gerrit-Reviewer: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
piotr.kliczewski@gmail.com