Bug 1046080

Summary: virt-v2v fails when processing exported ova file
Product: [Community] Virtualization Tools Reporter: josep blanch <blanch>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED UPSTREAM QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: rbalakri, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-10 12:52:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Result of executing virt-v2v with parameter LIBGUESTFS_DEBUG=1 none

Description josep blanch 2013-12-23 14:53:47 UTC
Created attachment 840828 [details]
Result of executing virt-v2v with parameter LIBGUESTFS_DEBUG=1

Description of problem:


Version-Release number of selected component (if applicable): 0.9.1 on rhel 6.5 x86_64


How reproducible: 100%


Steps to Reproduce:
1. prepare a VMWare virtual machine export in ova format
2. launch conversion with the following command virt-v2v  -i ova ./file.ova -os default -oc qemu:///system -of raw ( changing -of parameter doesn't affect the result: ie between  raw, qcow2 nor changing this parameter in virt-v2v.conf )

3.

Actual results: Error: failed to initialize KVM: Operation not permitted ...qemu-kvm: -drive file=/tmp/file-disk1.vmdk,cache=none,format=vmdk,id=hd0,if=ide: 'vmdk' can be only used as read-only device


Expected results: Converted Virtual machine


Additional info: attached log

Comment 1 Richard W.M. Jones 2014-09-10 12:52:51 UTC
This is fixed in virt-v2v >= 1.27.