Gilad Chaplik has submitted this change and it was merged.
Change subject: engine: Substract pendingVmSize from maxSchedulingMemory
......................................................................
engine: Substract pendingVmSize from maxSchedulingMemory
maxSchedulingMemory should represent the amount of available
memory on host. If a migration is in progress we should
substract the memory that will be used by the VM in transition.
Change-Id: I87a0a77ae40049f18fb40d803ab58d5a7bda60f0
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1083926
Signed-off-by: Martin Sivak <msivak(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
1 file changed, 4 insertions(+), 2 deletions(-)
Approvals:
Martin Sivák: Verified
Arik Hadas: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/26707
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I87a0a77ae40049f18fb40d803ab58d5a7bda60f0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(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: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server