jlecour
jlecour

Reputation: 3035

libvirt migration failed : unknown protocol 'rbd'

I've been using KVM/Qemu/libvirt/DRBD/Ceph for years but I've just had a strange issue when migrating a VM that has a Ceph RBD volume attached.

I've run this command to migrate the VM :

# virsh migrate --live --unsafe --verbose myvm qemu+ssh://IP/system tcp://IP

And I got this error :

Failed to open module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so: failed to map segment from shared object
2024-12-04T20:18:11.464782Z qemu-system-x86_64: -drive file=rbd:rbd/myvm_volume:id=libvirt:auth_supported=cephx\;none:mon_host=ceph01\:6789\;ceph02\:6789\;ceph03\:6789,file.password-secret=virtio-disk2-secret0,format=raw,if=none,id=drive-virtio-disk2: Unknown protocol 'rbd'

It's also visible in "/var/log/libvirt/qemu/myvm.log" on the destination host.

Looking for parts or the entire error on Google/DuckDuckGo gave me nothing.

Any idea why this is happening?

Upvotes: 0

Views: 70

Answers (0)

Related Questions