[Libguestfs] virt-v2v and import of Debian OVAs

Pino Toscano ptoscano at redhat.com
Thu Feb 23 16:06:57 UTC 2017


On Thursday, 23 February 2017 16:47:57 CET Emmanuel Kasper wrote:
> Is virt-v2v able to import a debian guest from an OVA archive ?
> 
> According to the "true" in convert_linux.ml, I would have said yes
> 
>   let matching = function
>     | { i_type = "linux";
>         i_distro = ("fedora"
>                        | "rhel" | "centos" | "scientificlinux" |
> "redhat-based"
>                        | "oraclelinux"
>                        | "sles" | "suse-based" | "opensuse") } -> true
>     | { i_type = "linux";
>         i_distro = ("debian" | "ubuntu" | "linuxmint") } -> true
>     | _ -> false

This is current master.

> But an OVA import fails with:
> 
> virt-v2v  --machine-readable -i ova
> turnkey-wordpress-14.1-jessie-amd64.ova -o qemu -of qcow2 -os v2v/
> [   0.0] Opening the source -i ova turnkey-wordpress-14.1-jessie-amd64.ova
> [   1.2] Creating an overlay to protect the source from being modified
> [   1.2] Initializing the target -o qemu -os v2v/
> [   1.2] Opening the overlay
> [   3.5] Inspecting the overlay
> [   4.8] Checking for sufficient free disk space in the guest
> [   4.8] Estimating space required on target for each disk
> [   4.8] Converting 8.4 to run on KVM
> virt-v2v: error: virt-v2v is unable to convert this guest type
> (linux/debian)
> 
> Using:
> virt-v2v --version
> virt-v2v 1.34.3

This from latest stable.

Support for Debian guests was added only in the 1.35 development series;
see https://bugzilla.redhat.com/show_bug.cgi?id=1362497 for more details
on the status of it.

> I am using an OVA from the following location
> 
> https://www.turnkeylinux.org/download?file=turnkey-wordpress-14.1-jessie-amd64.ova

I'm checking it to see whether it might work fine or not.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170223/737eb1f1/attachment.sig>


More information about the Libguestfs mailing list