Bug 835858

Summary: Cannot convert a vmdk image to a virt-image image file through virt-convert.
Product: [Community] Virtualization Tools Reporter: Geyang Kong <gkong>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, berrange, crobinso, cwei, dallan, hyao, jwu, mjenner, mzhan, wnefal+redhatbugzilla, zpeng
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-07 12:00:37 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Debug output none

Description Geyang Kong 2012-06-27 06:18:15 EDT
Created attachment 594744 [details]
Debug output

Description of problem:
  Cannot convert a vmdk image to a virt-image image file through virt-convert.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Make sure there is a vmdk image and related vmx file.(you can get it by converting from a virt-image file by using #virt-convert -i virt-image -o vmx $xml-file)
2. Run #virt-convert -i vmx -o virt-image $vmx-file -D raw
3. Run #qemu-img info $image-file

Actual results:
1. The output is:
image: T2.img
file format: vmdk
virtual size: 6.0G (6442450944 bytes)
disk size: 2.6G

Expected results:
1. After step 3, result should be
image: T2.img
file format: raw
virtual size: 6.0G (6442450944 bytes)
disk size: 2.7G

Additional info:
Comment 2 Cole Robinson 2013-04-21 15:12:22 EDT
virtinst has been merged into virt-manager.git. Moving all virtinst bugs to the virt-manager component.
Comment 4 Cole Robinson 2014-02-07 12:00:37 EST
Soon to be upstream virt-convert has been massively reworked, and this bug is no longer relevant.