Gilad Chaplik has submitted this change and it was merged.
Change subject: core: Fix PinToHostPolicyUnit when PinToHost is enabled
......................................................................
core: Fix PinToHostPolicyUnit when PinToHost is enabled
We have to return an empty list of available hosts when PinToHost
is enabled and the pinned Host was already filtered out.
Otherwise the whole PolicyUnit has no effect.
This is fixing one issue out of two that caused the
referenced bug. The issues are independent on each other
and so I did want to preserve the history.
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1007282
Change-Id: Id5a49813d433a10debe607f17783057d7d4a767b
Signed-off-by: Martin Sivak <msivak(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/PinToHostPolicyUnit.java
1 file changed, 6 insertions(+), 0 deletions(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/19786
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id5a49813d433a10debe607f17783057d7d4a767b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server