Yair Zaslavsky has uploaded a new change for review. Change subject: core: Duplicate key violation during add vm device (#806640) ......................................................................
core: Duplicate key violation during add vm device (#806640) https://bugzilla.redhat.com/806640 The snapshot configuration contains illegal image. As a result, a new Disk is added to the clone VM. The Vm device is added as well in that stage. After this, there is an attemp to copy the vm devices from the vm in the configuration, but it also includes the image. As a result , a duplicat key violation occurs. The solution is to create the new disk without the vm device at the stage of illegal image handling, and let the vm device copying create the vm device for it. Change-Id: Ia6ecca2836456217942aaeacc3fa7b61d56af1f9 Acked-By: --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromSnapshotCommand.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/85/3085/1 -- To view, visit http://gerrit.ovirt.org/3085 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia6ecca2836456217942aaeacc3fa7b61d56af1f9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches