Omer Frenkel has submitted this change and it was merged.

Change subject: core: fix remove stateless images flow in run vm
......................................................................


core: fix remove stateless images flow in run vm

when running a stateless vm, if stateless images already exist,
they are being deleted. this currently fails because RestoreStatelessVm cannot 
acquire lock,
which already acquired on runVm.
this patch fix this by passing the lock to that command in the commandContext.

Change-Id: I29c1c0eec0d09e5b6d52938491afb9890dcb5ad2
Signed-off-by: Omer Frenkel <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestoreStatelessVmCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
2 files changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I29c1c0eec0d09e5b6d52938491afb9890dcb5ad2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to