FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 01-22-2009, 04:28 PM
Joey Boggs
 
Default virtinst - vmdk disk conversion regression in diskcfg.py

When attempting to convert virt-image format machines into vmware vmdk
disk format it errors out. Attached is a patch to correct this.


1.
Generating output in "vmx" format to jboss-as5-appliance/
2.
Converting disk "jboss-as5-appliance-sda.raw" to type vmdk...
3.
Thu, 22 Jan 2009 15:17:46 DEBUG Creating directory
jboss-as5-appliance
4.
Thu, 22 Jan 2009 15:17:46 DEBUG input_file:
build/appliances/x86_64/jboss-as5-appliance/jboss-as5-appliance.xml.vmx-input
5.
Thu, 22 Jan 2009 15:17:46 DEBUG input_dir:
/home/goldmann/git/jboss-cloud/build/appliances/x86_64/jboss-as5-appliance
6.
Thu, 22 Jan 2009 15:17:46 DEBUG output_file:
jboss-as5-appliance/jboss-as5-appliance.vmx
7.
Thu, 22 Jan 2009 15:17:46 DEBUG output_dir:
/home/goldmann/git/jboss-cloud/build/appliances/x86_64/jboss-as5-appliance
8.
Thu, 22 Jan 2009 15:17:46 ERROR Couldn't convert disks: Cannot
convert to disk format vmdk



diff -r c13bca1c21fb virtconv/diskcfg.py
--- a/virtconv/diskcfg.py Wed Jan 14 12:36:11 2009 -0500
+++ b/virtconv/diskcfg.py Thu Jan 22 12:24:51 2009 -0500
@@ -235,7 +235,8 @@

if not (out_format == DISK_FORMAT_NONE or
out_format == DISK_FORMAT_VDISK or
- out_format == DISK_FORMAT_RAW):
+ out_format == DISK_FORMAT_RAW or
+ out_format == DISK_FORMAT_VMDK):
raise NotImplementedError("Cannot convert to disk format %s" %
output_format)

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-23-2009, 08:14 PM
Cole Robinson
 
Default virtinst - vmdk disk conversion regression in diskcfg.py

Joey Boggs wrote:
> When attempting to convert virt-image format machines into vmware vmdk
> disk format it errors out. Attached is a patch to correct this.
>

Thanks, applied:

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virtinst--devel/rev/fcad10e944ef

- Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 12:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org