Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1294501 - v2v: Cannot import VM as clone if the VM was already imported (not as clone).
Summary: v2v: Cannot import VM as clone if the VM was already imported (not as clone).
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.3
: 3.6.3
Assignee: Arik
QA Contact: meital avital
URL:
Whiteboard:
: 1294500 (view as bug list)
Depends On: 1294651
Blocks: 952703 1236075
TreeView+ depends on / blocked
 
Reported: 2015-12-28 14:41 UTC by Nisim Simsolo
Modified: 2016-02-18 11:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:02:34 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: planning_ack+
michal.skrivanek: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
engine.log (deleted)
2015-12-28 14:44 UTC, Nisim Simsolo
no flags Details
vdsm.log (deleted)
2015-12-28 14:44 UTC, Nisim Simsolo
no flags Details
webadmin screenshot (deleted)
2015-12-28 14:45 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 51143 0 None None None 2015-12-30 14:50:32 UTC
oVirt gerrit 51176 0 ovirt-engine-3.6 MERGED core: fix import vm from vmware as clone 2015-12-31 15:32:18 UTC

Description Nisim Simsolo 2015-12-28 14:41:26 UTC
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

Comment 1 Nisim Simsolo 2015-12-28 14:44:00 UTC
Created attachment 1110034 [details]
engine.log

Comment 2 Nisim Simsolo 2015-12-28 14:44:31 UTC
Created attachment 1110035 [details]
vdsm.log

Comment 3 Nisim Simsolo 2015-12-28 14:45:54 UTC
Created attachment 1110036 [details]
webadmin screenshot

Comment 4 Nisim Simsolo 2015-12-28 14:49:46 UTC
*** Bug 1294500 has been marked as a duplicate of this bug. ***

Comment 5 meital avital 2016-02-08 16:50:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.