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

amureini at redhat.com amureini at redhat.com
Sun Jan 18 15:43:51 UTC 2015


Allon Mureinik 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:
  Allon Mureinik: Looks good to me, approved
  Vered Volansky: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I085d49dc90053e375f829900c75d2fe72c263161
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas 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



More information about the Engine-commits mailing list