Bug 678214

Summary: virt-convert: Unreadable outputs when the conversion is complete
Product: Red Hat Enterprise Linux 6 Reporter: Nan Zhang <nzhang>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: dallan, dyuan, llim, mhideo, mjenner, xen-maint, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When converting the type of guest image from virt-image to vmx the resulting output is not a genuine status message. This fix changes the output into a useful format for the user.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:43:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nan Zhang 2011-02-17 06:47:42 UTC
Description of problem:
Converting the type of guest image from virt-image to vmx, but the result info is not expected.

Version-Release number of selected component (if applicable):
python-virtinst-0.500.5-1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
# virt-convert -i virt-image -o vmx virt_image.xml 
{'input_format': 'virt-image', 'output_format': 'vmx', 'input_dir': '/root', 'os_variant': None, 'output_file': 'test/test.vmx', 'disk_format': None, 'quiet': None, 'noacpi': False, 'noapic': False, 'output_dir': 'test', 'input_file': 'virt_image.xml', 'paravirt': None, 'debug': None, 'os_type': None, 'arch': 'x86_64', 'fullvirt': None}
{'input_format': 'virt-image', 'output_format': 'vmx', 'input_dir': '/root', 'os_variant': None, 'output_file': 'test/test.vmx', 'disk_format': None, 'quiet': None, 'noacpi': False, 'noapic': False, 'output_dir': 'test', 'input_file': 'virt_image.xml', 'paravirt': None, 'debug': None, 'os_type': None, 'arch': 'x86_64', 'fullvirt': None}
{'input_format': 'virt-image', 'output_format': 'vmx', 'input_dir': '/root', 'os_variant': None, 'output_file': 'test/test.vmx', 'disk_format': None, 'quiet': None, 'noacpi': False, 'noapic': False, 'output_dir': 'test', 'input_file': 'virt_image.xml', 'paravirt': None, 'debug': None, 'os_type': None, 'arch': 'x86_64', 'fullvirt': None}
  
Actual results:
Output looks like debug info.

Expected results:
Should be like the following outputs:
Generating output in 'vmx' format to test/
Converting disk 'test.qcow2' to type vmdk...
Done.

Additional info:

Comment 1 Cole Robinson 2011-03-02 21:22:05 UTC
Fixed upstream:

http://hg.fedorahosted.org/hg/python-virtinst/rev/f7be627043c6

Comment 2 Cole Robinson 2011-03-10 16:37:52 UTC
Fixed in python-virtinst-0.500.5-2.el6

Comment 4 zhe peng 2011-03-23 10:55:04 UTC
verified on python-virtinst-0.500.5-2.el6
# rpm -qa|grep python-virtinst
python-virtinst-0.500.5-2.el6.noarch


# virt-convert -i virt-image -o vmx virt-image.xml 
Generating output in 'vmx' format to test/
Converting disk 'rhel6_x86_64_qcow2.img' to type vmdk...
Done.
the bug fixed.

Comment 5 Nan Zhang 2011-03-23 11:25:08 UTC
According to comment #4, move to VERIFIED.

Comment 6 zhe peng 2011-04-15 09:37:15 UTC
verified this bug with:
Linux localhost.localdomain 2.6.32-130.el6.x86_64 #1 SMP Tue Apr 5 19:58:31 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

python-virtinst-0.500.5-3.el6.noarch
libvirt-0.8.7-17.el6.x86_64

passed.

Comment 8 Michael Hideo 2011-05-12 02:33:40 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
* When converting the type of guest image from virt-image to vmx the resulting output is not a genuine status message. This fix changes the output into a useful format for the user. (BZ#678214)

Comment 9 Michael Hideo 2011-05-16 21:40:47 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-* When converting the type of guest image from virt-image to vmx the resulting output is not a genuine status message. This fix changes the output into a useful format for the user. (BZ#678214)+When converting the type of guest image from virt-image to vmx the resulting output is not a genuine status message. This fix changes the output into a useful format for the user.

Comment 10 errata-xmlrpc 2011-05-19 13:43:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0636.html