Change in ovirt-engine[ovirt-engine-3.5]: core: Fix storage allocation check when creating a VM snapshot

tnisan at redhat.com tnisan at redhat.com
Mon Jan 19 09:27:54 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: Fix storage allocation check when creating a VM snapshot
......................................................................


core: Fix storage allocation check when creating a VM snapshot

Allocation checks for memory and data volumes were done either way -
whether the VM is running or not. This patch takes these volumes into
consideration only when the VM is running.

Change-Id: I085d49dc90053e375f829900c75d2fe72c263161
Bug-Url: https://bugzilla.redhat.com/1053752
Bug-Url: https://bugzilla.redhat.com/1119022
Signed-off-by: Vered Volansky <vvolansk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImagesHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommandTest.java
4 files changed, 68 insertions(+), 37 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Vered Volansky: Verified



-- 
To view, visit http://gerrit.ovirt.org/37038
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I085d49dc90053e375f829900c75d2fe72c263161
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list