[virt-tools-list] virt-v2v error on Fedora 15 to rhev

Richard W.M. Jones rjones at redhat.com
Sun Jun 12 17:32:03 UTC 2011


On Sat, Jun 11, 2011 at 06:47:37PM +0200, Gianluca Cecchi wrote:
> Hello,
> I'm trying to export a windows XP vm created on fedora15 to be used
> for an RHEV infra.
> So I'm testing to export to rhev format
> the command gives:
> 
> # virt-v2v -o rhev -osd 10.0.11.44:/RHEV/export --network rhevm wxp_r815
> winxp.img: 100% [====================================================]D 0h04m20s
> find: failed to restore initial working directory: Permission denied
> virt-v2v: No app in config matches os='windows' name='virtio'
> major='5' minor='1' arch='i386'
> Can't use string ("cannot chdir to /root from /tmp/"...) as a HASH ref
> while "strict refs" in use at
> /usr/share/perl5/vendor_perl/Sys/VirtV2V/Connection/RHEVTarget.pm line
> 396.
> virt-v2v: Failed to unmount 10.0.11.44:/RHEV/export. Command exited
> with status 16. Output was: umount.nfs: /tmp/iJsEF0OkoH: device is
> busy
> umount.nfs: /tmp/iJsEF0OkoH: device is busy
> 
> virt-v2v: Failed to remove mount directory /tmp/iJsEF0OkoH: Device or
> resource busy
> 
> When the command comes back to prompt I can manually unmount the
> temporary directory for export created by virt-v2v under
> /tmp/iJsEF0OkoH
> 
> >From an RHEV point of view nothing is shown if I go in export domain
> to import the vm.
> I attach the xml used for winxp on Fedora15
> 
> Is fedora15 supposed to be able to export to current RHEV?
> 
> Let me know if the error is to be seen as a source error or
> destination and if other list is suitable better than this eventually.

Probably this bug and solution:

https://bugzilla.redhat.com/show_bug.cgi?id=671353#c1

Rich.

> <domain type='kvm'>
>   <name>wxp_r815</name>
>   <uuid>4301d670-4194-b586-2192-d886afc6ab1e</uuid>
>   <memory>1048576</memory>
>   <currentMemory>1048576</currentMemory>
>   <vcpu>1</vcpu>
>   <os>
>     <type arch='x86_64' machine='pc-0.14'>hvm</type>
>     <boot dev='hd'/>
>   </os>
>   <features>
>     <acpi/>
>     <apic/>
>     <pae/>
>   </features>
>   <clock offset='localtime'/>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>restart</on_crash>
>   <devices>
>     <emulator>/usr/bin/qemu-kvm</emulator>
>     <disk type='file' device='disk'>
>       <driver name='qemu' type='raw'/>
>       <source file='/var/lib/libvirt/images/winxp.img'/>
>       <target dev='hda' bus='ide'/>
>       <address type='drive' controller='0' bus='0' unit='0'/>
>     </disk>
>     <disk type='file' device='cdrom'>
>       <driver name='qemu' type='raw'/>
>       <source file='/var/lib/libvirt/images/winxp_sp3.iso'/>
>       <target dev='hdc' bus='ide'/>
>       <readonly/>
>       <address type='drive' controller='0' bus='1' unit='0'/>
>     </disk>
>     <controller type='ide' index='0'>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
>     </controller>
>     <interface type='bridge'>
>       <mac address='52:54:00:c6:4d:a2'/>
>       <source bridge='brlan10'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
>     </interface>
>     <serial type='pty'>
>       <target port='0'/>
>     </serial>
>     <console type='pty'>
>       <target type='serial' port='0'/>
>     </console>
>     <input type='tablet' bus='usb'/>
>     <input type='mouse' bus='ps2'/>
>     <graphics type='vnc' port='-1' autoport='yes'/>
>     <sound model='ich6'>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
>     </sound>
>     <video>
>       <model type='vga' vram='9216' heads='1'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
>     </video>
>     <memballoon model='virtio'>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
>     </memballoon>
>   </devices>
> </domain>

> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the virt-tools-list mailing list