[et-mgmt-tools] [patch] virtinst--devel - virt-convert error

Joey Boggs jboggs at redhat.com
Fri Sep 12 18:15:01 UTC 2008


Look like the release after .300 had OS_TYPES renamed to _OS_TYPES in 
FullVirtGuest.py creating this error for virt-convert

['(VMDK) image open: flags=0x2 
filename=/home/jboggs/vmware/OSX/OSX-0.vmdk\n']
ERROR    type object 'FullVirtGuest' has no attribute 'OS_TYPES'
Traceback (most recent call last):
  File "/usr/bin/virt-convert", line 252, in <module>
    main()
  File "/usr/bin/virt-convert", line 242, in main
    outp.export_file(vmdef, options.output_file)
  File "/usr/lib/python2.5/site-packages/virtconv/parsers/virtimage.py", 
line 225, in export_file
    acpi, apic = export_os_params(vm)
  File "/usr/lib/python2.5/site-packages/virtconv/parsers/virtimage.py", 
line 86, in export_os_params
    ostype = fv.OS_TYPES.get(vm.os_type)
AttributeError: type object 'FullVirtGuest' has no attribute 'OS_TYPES'



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-os_types.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080912/356a272b/attachment.bin>


More information about the et-mgmt-tools mailing list