Bug 1360376

Summary: Import KVM guest image: Import of any Windows VM OS type, failed with "Coding error, pool for requested GUID does not exist"
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: BLL.VirtAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED DUPLICATE QA Contact: Nisim Simsolo <nsimsolo>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.0.2CC: bugs, nsimsolo
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 05:06:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm.log
none
engine.log none

Description Nisim Simsolo 2016-07-26 14:30:35 UTC
Description of problem:
Import Windows VM (any Windows OS) failed with the next engine.log lines: 

2016-07-26 17:06:34,154 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] (org.ovirt.thread.pool-6-thread-31) [523a979d] Command 'org.ovirt.engin
e.core.bll.exportimport.ImportVmFromExternalProviderCommand' failed: Coding error, pool for requested GUID does not exist
Version-Release number of selected component (if applicable):
2016-07-26 17:06:34,154 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] (org.ovirt.thread.pool-6-thread-31) [523a979d] Exception: javax.ejb.EJB
TransactionRolledbackException: Coding error, pool for requested GUID does not exist

and:

2016-07-26 17:06:34,236 INFO  [org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] (org.ovirt.thread.pool-6-thread-31) [523a979d] Lock freed to object 'En
gineLock:{exclusiveLocks='[17072dbe-cca6-44c4-a8fb-d257e4f106ee=<VM, ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName win7_KVM_local>, win7_KVM_local=<VM_NAME, ACTION_TYPE_FAILED_N
AME_ALREADY_USED>]', sharedLocks='null'}'



Version-Release number of selected component (if applicable):
rhevm-4.0.2-0.1.rc.el7ev
qemu-kvm-rhev-2.3.0-31.el7_2.19.x86_64
vdsm-4.18.8-1.el7ev.x86_64
libvirt-daemon-1.2.17-13.el7_2.5.x86_64

How reproducible:
consistently

Steps to Reproduce:
1. Browse webadmin -> Virtual machines tab -> import
2. Select KVM source and enter KVM URI, user and password. click load.
3. Import Windows VM 

Actual results:
Import failed.

Expected results:
Any KVM Windows VM should be importable

Additional info:
engine and vdsm logs attached.

Comment 1 Nisim Simsolo 2016-07-26 14:34:06 UTC
Created attachment 1184284 [details]
vdsm.log

Comment 2 Nisim Simsolo 2016-07-26 14:34:31 UTC
Created attachment 1184285 [details]
engine.log

Comment 3 Michal Skrivanek 2016-07-27 05:06:55 UTC

*** This bug has been marked as a duplicate of bug 1359668 ***