Omer Frenkel has submitted this change and it was merged.
Change subject: core: fix locks in runVm
......................................................................
core: fix locks in runVm
locks prevented create-snapshot running during run-vm
which caused stateless and pool-vms not to run.
solution is to send the lock from run-vm to create-snapshot,
so it wouldn't try to acquire it again.
Change-Id: I5aa7d184955f4fb7103f5c95023efa4a3288b753
Signed-off-by: Omer Frenkel <ofrenkel(a)redhat.com>
(cherry picked from commit de23ac282353163d82ee0fe8e543b5263d832f64)
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/context/CommandContext.java
3 files changed, 23 insertions(+), 12 deletions(-)
Approvals:
Ofer Schreiber: Looks good to me, but someone else must approve
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5589
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5aa7d184955f4fb7103f5c95023efa4a3288b753
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.1
Gerrit-Owner: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>