Bug 790818

Summary: Import VM fail
Product: [Retired] oVirt Reporter: Ilanit Stein <istein>
Component: ovirt-engine-coreAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, iheim, oramraz, ykaul
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 07:58:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine log: see import failure on 14:32
none
vdsm log, import VM fail on ~14:32 none

Description Ilanit Stein 2012-02-15 14:03:24 UTC
Created attachment 562226 [details]
engine log: see import failure on 14:32

Description of problem:

Import VM is not supported. 

From engine log:

" ImportVmCommand throw exception: org.springframework.dao.DataIntegrityViolationException: CallableStatementCallback; SQL [{call insertvmdevice(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: null value in column "device_id" violates not-null constraint
(03:43:13 PM) istein: (10:33:41 AM) istein:   Where: SQL statement "INSERT INTO vm_device(
(03:43:13 PM) istein: (10:33:41 AM) istein:         device_id,..."

Comments: 
1) Failed on recent Jenkins storage Import Export test, and also on manual testing.
2) No special scenario is required.

Comment 1 Ilanit Stein 2012-02-15 14:06:06 UTC
Created attachment 562227 [details]
vdsm log, import VM fail on ~14:32

Comment 2 Eli Mesika 2012-02-16 14:12:52 UTC
http://gerrit.ovirt.org/#change,2000

Comment 3 Itamar Heim 2012-08-09 07:58:17 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/