Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Use container id for memory lock in import process.
......................................................................


core: Use container id for memory lock in import process.

When importing a VM we use memory lock on the VM in the export domain so
it will not get deleted in the process.

When the import process is being done with clone, a new vm id is generated
and the lock at the end command is being regenerated with the new
VM guid instead of the original one from the export domain.

The proposed fix is to use the container id from the parameters when
generating the shared lock.

Signed-off-by: Maor Lipchuk <[email protected]>
Bug-Url:  https://bugzilla.redhat.com/998907
Change-Id: Ie849300bdc98020aeca90deeddafd12295e8211a
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie849300bdc98020aeca90deeddafd12295e8211a
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to