[Libguestfs] virt-v2v and import of Debian OVAs

Emmanuel Kasper manu at debian.org
Thu Feb 23 15:47:57 UTC 2017


Hi
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

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

I am using an OVA from the following location

https://www.turnkeylinux.org/download?file=turnkey-wordpress-14.1-jessie-amd64.ova

Am I missing something ?

Emmanuel




More information about the Libguestfs mailing list