Bugzilla – Bug 1221099
virt-v2v fails with error: nbdkit is not installed or not working.
Last modified: 2024-04-24 09:36:02 UTC
Created attachment 873293 [details] virt-v2v -i ova znuny.ova -o libvirt -of qcow2 -n default -xv -oc qemu:///session When trying to convert an ova created with ovftool from an vmware ovf export (although I think that is not relevant, just the only ova I have) virt-v2v fails with "virt-v2v: error: nbdkit is not installed or not working. It is required to use ‘-o disk’. " Attached is the libnbd related output of: virt-v2v -i ova znuny.ova -o libvirt -of qcow2 -n default -xv -oc qemu:///session and virt-v2v -i ova znuny.ova -o local -of qcow2 -n default -xv -os ~/.local/share/libvirt/images/
Created attachment 873294 [details] virt-v2v -i ova znuny.ova -o local -of qcow2 -n default -xv -os ~/.local/share/libvirt/images/
Sorry forgot some Detais: i+ | virt-v2v | Paket | 2.4.0-3.1 | x86_64 | Haupt-Repository (OSS) i | nbdkit | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-basic-filters | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-basic-plugins | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-curl-plugin | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i+ | nbdkit-linuxdisk-plugin | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-nbd-plugin | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-python-plugin | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-server | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-ssh-plugin | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) i | nbdkit-vddk-plugin | Paket | 1.36.1-1.2 | x86_64 | Haupt-Repository (OSS) cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20240305" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20240305" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" # CPE 2.3 format, boo#1217921 CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20240305:*:*:*:*:*:*:*" #CPE 2.2 format #CPE_NAME="cpe:/o:opensuse:tumbleweed:20240305" BUG_REPORT_URL="https://bugzilla.opensuse.org" SUPPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed"
A new submission of virt-v2v has been made which _may_ address this issue. Watch for a future Tumbleweed release hopefully next week sometime.
I believe this is resolved with Tumbleweed version 20240419 or newer.
It' not working, but the error is a different one now: libguestfs: command: run: passt libguestfs: command: run: \ --one-off libguestfs: command: run: \ --socket /run/user/1000/libguestfspKWdg5/passt.sock libguestfs: command: run: \ --pid /run/user/1000/libguestfspKWdg5/passt1.pid libguestfs: command: run: \ --address 169.254.2.15 libguestfs: command: run: \ --netmask 16 libguestfs: command: run: \ --mac-addr 52:56:00:00:00:02 libguestfs: command: run: \ --gateway 169.254.2.2 No interfaces with usable IPv6 routes Couldn't pick external interface: disabling IPv6 Template interface: enp5s0 (IPv4) MAC: host: 52:56:00:00:00:02 DHCP: assign: 169.254.2.15 mask: 255.255.0.0 router: 169.254.2.2 UNIX domain socket bound at /run/user/1000/libguestfspKWdg5/passt.sock You can now start qemu (>= 7.2, with commit 13c6be96618c): kvm ... -device virtio-net-pci,netdev=s -netdev stream,id=s,server=off,addr.type=unix,addr.path=/run/user/1000/libguestfspKWdg5/passt.sock or qrap, for earlier qemu versions: ./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio PID file open: Permission denied libguestfs: trace: v2v: launch = -1 (error) virt-v2v: error: libguestfs error: passt exited with status 1 rm -rf -- '/tmp/v2vqemunbd.mBM4I9' Unix.Unix_error(Unix.ENOENT, "unlink", "/tmp/v2v.i9zyvq/in0")