Description of problem: Importing VM as clone when the same VM was already imported, failed with "VM Id already exist in the system" error message. This issue is true also when changing destination VM name. Version-Release number of selected component (if applicable): rhevm-3.6.2-0.1.el6 vdsm-4.17.14-0.el7ev.noarch sanlock-3.2.4-1.el7.x86_64 libvirt-client-1.2.17-13.el7_2.2.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64 How reproducible: Consistently. Steps to Reproduce: 1. Import VM from VMware, not as a clone. 2. Import the same VM again, verify clone checkbox is checked, change VM name and click "ok". 3. Actual results: Action failed with the next message: Error while executing action: test888: Import VM failed - VM Id already exist in the system. Please remove the VM (rhel7_nisim) from the system first Expected results: Import VM as clone should succeed. Additional info: engine and vdsm log attached. Engine.log issue: 2015-12-28 16:35:36,283 INFO
Created attachment 1110034 [details] engine.log
Created attachment 1110035 [details] vdsm.log
Created attachment 1110036 [details] webadmin screenshot
*** Bug 1294500 has been marked as a duplicate of this bug. ***
Verified on : rhevm-3.6.3-0.1.el6 libvirt-client-1.2.17-13.el7_2.2.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64 vdsm-4.17.19-0.el7ev.noarch Verified steps: 1)Import VM1 from VMware, not as a clone. 2)Import the same VM1 again as clone, changed VM name. 3)Import the same VM1 again as clone, with name that match other VM in VMware. 4)Import VM2 in the first time and check the clone checkbox.