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

Re: [Libguestfs] virt-v2v fails 'iface' parameter is not supported by the libvirt attach-method



Thank you for the quick reply!

On Fri, Feb 8, 2013 at 12:26 PM, Richard W.M. Jones <rjones redhat com> wrote:
On Fri, Feb 08, 2013 at 10:47:58AM -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

Yup, this is a missing feature in libguestfs when using the libvirt
backend (instead of the default which is to run qemu directly).  In
Fedora 18, we're using the non-default libvirt backend, so
consequently this missing feature breaks virt-v2v.

> 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?

The simplest workaround is to switch back to the default backend.  Do:

  export LIBGUESTFS_ATTACH_METHOD=appliance

before running virt-v2v.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW



--
Chris Noffsinger

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