[virt-tools-list] virt-convert vmx -> virt-image
Joey Boggs
jboggs at redhat.com
Thu Nov 12 18:00:55 UTC 2009
Cole Robinson wrote:
> On 11/12/2009 11:19 AM, Joey Boggs wrote:
>
>> Cole Robinson wrote:
>>
>>> On 11/11/2009 01:47 AM, ÐлекÑей wrote:
>>>
>>>
>>>> Good Day ALL, and sorry my English
>>>>
>>>> Help me, I need convert vmware virtual machine to kvm virtual machine. And
>>>> when I run
>>>>
>>>> #virt-convert --input-format=vmx /kvm/storage/tmp/uzpsdomain-vmx/UzpsDomain.vmx
>>>>
>>>> I get
>>>>
>>>> Traceback (most recent call last):
>>>> File "/usr/lib/python2.6/logging/handlers.py", line 71, in emit
>>>> if self.shouldRollover(record):
>>>> File "/usr/lib/python2.6/logging/handlers.py", line 144, in shouldRollover
>>>> msg = "%s\n" % self.format(record)
>>>> File "/usr/lib/python2.6/logging/__init__.py", line 644, in format
>>>> return fmt.format(record)
>>>> File "/usr/lib/python2.6/logging/__init__.py", line 435, in format
>>>> s = self._fmt % record.__dict__
>>>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1:
>>>> ordinal not in range(128)
>>>>
>>>>
>>> That error is harmless and has to do with us logging localized messages
>>> which may use unicode (which logging can't handle).
>>>
>>>
>>>
>>>> ERROR Couldn't import
>>>> file "/kvm/storage/tmp/uzpsdomain-vmx/UzpsDomain.vmx": Disk ide:2 storage
>>>> does not exist
>>>>
>>>>
>>>>
>>>
>>>
>> Can you send your .vmx file so we can take a look at it?
>>
>>
>
> It was attached to his original email. Re attaching here.
>
> - Cole
>
>
Looks like this was fixed already, but it's not in the current release
http://hg.fedorahosted.org/hg/python-virtinst/rev/712276328f75
Only problem is that virt-convert does not support converting scsi
format vmdk disks.
There are 2 alternatives though: virt-v2v or virt-p2v which should
convert everything like you want.
More information about the virt-tools-list
mailing list