[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] Virtio: 32bit CentOS 6.4 on VirtualBox to oVirt on Fedora 19 64bit via virt-v2v



Matt,

On Fri, 2013-11-15 at 14:05 +0000, Matthew Booth wrote:
> On Fri, 2013-11-15 at 10:47 +0000, Owen Williams wrote:
> > Hello,
> >   I've trying to move a 32bit CentOS 6.4 on VirtualBox to oVirt on
> > Fedora 19 64bit via virt-v2v.  The command I'm currently using is:
> > 
> > virt-v2v -i libvirtxml -of qcow2 -oa sparse -o rhev -osd
> > xxx.xxx.xxx.xxx:/usr/local/ovirt/exports --network
> > ovirtmgmt /usr1/home/williams/Downloads/OpenAthens/VMs/OpenAthensLARuntime2.2.xml
> > 
> > The exciting bit of the XML is:
> > 
> >   <devices>
> >     <emulator>/usr/bin/qemu-kvm</emulator>
> >     <disk type='file' device='disk' snapshot='no'>
> >       <source
> > file='/usr1/home/williams/Downloads/OpenAthens/VMs/OpenAthens_LA_Runtime_2.2.img'/>
> >       <target dev='vda' bus='virtio'/>
> >       <alias name='virtio-disk0'/>
> >     </disk>
> >   </devices>
> > 
> > The image is a RAW (taken from the working VirtualBox install) but I
> > have tried the original image with the same result:
> > 
> > virtio configured, but no virtio kernel found
> > at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm
> 
> Hi, Owen,
> 
> Could you please pastebin the output of the conversion run with the
> environment variable LIBGUESTFS_TRACE=1.
> 
> Thanks,
> 
> Matt
> 

Done but with LIBGUESTFS_DEBUG=1 (I already had it) :

http://pastebin.com/ZUQ9BMzP

Anyway, I have a working VM now.  I added:

  <capability os='linux' name='kernel' distro='centos' major='6'
minor='4' arch='i686'>
    <dep name='kernel' minversion='2.6.18-128.el5'/>
    <dep name='lvm2' minversion='2.02.40-6.el5'/>
    <dep name='selinux-policy-targeted' minversion='2.4.6-203.el5'
         ifinstalled='yes'/>
  </capability>

to /var/lib/virt-v2v/virt-v2v.db

I hope this is useful.

Best regards,

Owen.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]