[virt-tools-list] virt-convert vmx -> virt-image

Cole Robinson crobinso at redhat.com
Wed Nov 11 16:05:39 UTC 2009


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
> 

If that file actually _does_ exist, are you running virt-convert as a
user with sufficient privs to access it? If not, might be a legit bug.

- Cole




More information about the virt-tools-list mailing list