Re: [Users] virt-v2v iface parameter is not supported
On Fri, Feb 08, 2013 at 10:21:41AM -0500, Chris Noffsinger wrote: > So I am getting this error on Fed18 virt-v2v trying to convert libvirtxml > to Rhev 3.1 NFS Export domain: > > 'iface' parameter is not supported by the libvirt attach-method at > /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 96. > > Which is mentioned in this bug: > > https://bugzilla.redhat.com/show_bug.cgi?id=895898 > > and this one: > > https://bugzilla.redhat.com/show_bug.cgi?id=892272 > > Is there a work-around way for me to manipulate my xml to get it to > convert? Or am I not hitting a bug at all and just have the wrong hardware > specified somewhere? > > > XP > 46683b8c-6638-9eed-b1a4-7b72c2080c9f > 2097152 > 2097152 > 1 > > hvm > > > > > > > > > destroy > restart > restart > > /usr/bin/qemu-kvm > > > > > > > >function='0x2'/> > > >function='0x1'/> > > >function='0x0'/> > > > > > > > > > > > > > > > >function='0x0'/> > > > >function='0x0'/> > > >function='0x0'/> > > > For the benefits of the archives, this question is answered here: https://www.redhat.com/archives/libguestfs/2013-February/thread.html#00056 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error
Le 09/02/2013 11:26, Nicolas Ecarnot a écrit : I had to install libguestfs-tools.x86_64 to get virt-inspector, and it correctly find it is a RH 3. Am I missing some more packages for the perl scripts to work correctly? I forgot to write that after the installation of the package mentionned above, I still have the exact same perl error messages. -- Nicolas Ecarnot ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error
On Sat, Feb 09, 2013 at 11:26:32AM +0100, Nicolas Ecarnot wrote: > Am I missing some more packages for the perl scripts to work correctly? virt-v2v should depend on everything it needs, and there was no error message indicating that anything was missing. AFAIK RHEL 3 should work (for v2v), but we'll see what Matt says. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error
Le 08/02/2013 21:54, Richard W.M. Jones a écrit : On Thu, Feb 07, 2013 at 04:48:13PM +0100, Nicolas Ecarnot wrote: Hi, After having successfully migrated Debian, XP, 2003, 2008 VMs, I'm stuck with a migration I was expecting to be easy : RHAS3. Here is the error log I get : # virt-v2v -i libvirt -ic qemu+ssh://@/system -o rhev -os :/data/vmexport -of qcow2 -oa sparse -n ovirtmgmt serv-rhas3-vm1 serv-rhas3-vm1_copy.raw: 100% [=]D 0h10m14s virt-v2v: Pas de capability dans la configuration correspondant à os='linux' name='virtio' distro='rhel' major='3' minor='0' virt-v2v: Pas de capability dans la configuration correspondant à os='linux' name='cirrus' distro='rhel' major='3' minor='0' virt-v2v: WARNING: Le pilote d'affichage a été modifié en cirrus, mais il est impossible d'installer le pilote cirrus. X pourrait ne pas fonctionner correctement virt-v2v: WARNING: /boot/grub/device.map fait référence à un périphérique /dev/fd0 inconnu. Cette entrée doit être corrigée manuellement après la conversion. virt-v2v: WARNING: /boot/grub/device.map fait référence à un périphérique /dev/sda inconnu. Cette entrée doit être corrigée manuellement après la conversion. sh: sh: at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 200. at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 2321 I don't mind the warnings and I also had such errors I was able to correct manually. But here, the last two lines are lethal. It seems oVirt tries to guess which OS is imported, and tries to do specific actions, and do them bad. Either there's a way o prevent oVirt from guessing, either there's a way to correct the actions oVirt is failing to do... Googling was not that helpful about this issue. I'm not totally clear what "RHAS 3" is, but you're correct that virt-v2v has to detect[1] the type of operating system in the guest in order to determine what operations it has to perform on that guest. RHAS stands for redhat advanced server. In our case, this is just an old "Red Hat Enterprise Linux AS release 3 (Taroon)". It uses the configuration file /etc/virt-v2v.conf to map the guest type into drivers that have to be installed, but some of this is also hard-coded inside the program. Matt (CC'd) might have some more suggestions. I'll be glad to hear from him. Rich. [1] You can find out what virt-v2v (actually, what libguestfs) thinks is in your guest by doing: virt-inspector serv-rhas3-vm1 ("virt-inspector2" if this is RHEL 6). I had to install libguestfs-tools.x86_64 to get virt-inspector, and it correctly find it is a RH 3. Am I missing some more packages for the perl scripts to work correctly? -- Nicolas Ecarnot ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users