Eli Mesika has uploaded a new change for review.

Change subject: core: Can not run VM that was created...(#827883)
......................................................................

core: Can not run VM that was created...(#827883)

https://bugzilla.redhat.com/827883

This occurs when importing a VM/Template when it already exists (Import
more than once)
In this case the collections in VmBase that stores the managed and
un-managed devices should be updated with a new Id (combination of a new
Guid for the device Id and the new generated entity id as the VM id)

Change-Id: Ice34c79e6e1fc9ea08d26887c72b53455a55d1a4
Signed-off-by: Eli Mesika <emes...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java
4 files changed, 16 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/32/5332/1
--
To view, visit http://gerrit.ovirt.org/5332
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice34c79e6e1fc9ea08d26887c72b53455a55d1a4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to