Change in ovirt-engine[master]: core: Can not run VM that was created...(#827883)
emesika at redhat.com
emesika at redhat.com
Mon Jun 18 12:39:26 UTC 2012
Eli Mesika has submitted this change and it was merged.
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 <emesika at 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, 44 insertions(+), 13 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/5332
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ice34c79e6e1fc9ea08d26887c72b53455a55d1a4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
More information about the Engine-commits
mailing list