openvstorage / qemu

Open vStorage Qemu tree.
Other
0 stars 3 forks source link

Failed to initialize module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so #9

Open lswadmin opened 1 year ago

lswadmin commented 1 year ago

When I do nova live-migration ,the source compute node (/var/log/nova/nova-compute.log) has the error information :

Live Migration failure: internal error: process exited while connecting to monitor: Failed to initialize module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so

Note: only modules from the same build can be loaded qemu-system-x86_64: -blockdev {"driver":"rbd","pool":"volumes","image":"volume-f9dfd3bd-5907-4e34-a533-e9562ec47920","server":[{"host":"10.0.7.132","port":"6789"}],"user":"cinder","auth-client-required":["cephx","none"],"key-secret":"libvirt-1-storage-auth-secret0","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}: Unknown driver 'rbd': libvirt.libvirtError: internal error: process exited while connecting to monitor: Failed to initialize module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so 2023-04-25 18:45:14.785 607136 ERROR nova.virt.libvirt.driver [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Migration operation has aborted

enviroment info as follows: os: ubuntu 20.04
libvirt version: 8.0.0 openstack version: yoga ceph version: quincy

lswadmin commented 1 year ago

2023-04-25 18:45:11.891 607136 INFO nova.compute.manager [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Took 2.32 seconds for pre_live_migration on destination host controller. 2023-04-25 18:45:13.214 607136 INFO nova.virt.libvirt.migration [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Increasing downtime to 50 ms after 0 sec elapsed time 2023-04-25 18:45:13.278 607136 INFO nova.virt.libvirt.driver [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Migration running for 0 secs, memory 100% remaining (bytes processed=0, remaining=0, total=0); disk 100% remaining (bytes processed=0, remaining=0, total=0). 2023-04-25 18:45:14.649 607136 ERROR nova.virt.libvirt.driver [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Live Migration failure: internal error: process exited while connecting to monitor: Failed to initialize module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so Note: only modules from the same build can be loaded. 2023-04-25T10:45:14.296355Z qemu-system-x86_64: -blockdev {"driver":"rbd","pool":"volumes","image":"volume-f9dfd3bd-5907-4e34-a533-e9562ec47920","server":[{"host":"10.0.7.132","port":"6789"}],"user":"cinder","auth-client-required":["cephx","none"],"key-secret":"libvirt-1-storage-auth-secret0","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}: Unknown driver 'rbd': libvirt.libvirtError: internal error: process exited while connecting to monitor: Failed to initialize module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so 2023-04-25 18:45:14.785 607136 ERROR nova.virt.libvirt.driver [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Migration operation has aborted 2023-04-25 18:45:14.826 607136 INFO nova.compute.manager [-] [instance: 3d62897d-65b9-48b5-9c3c-226b0276b44b] Swapping old allocation on dict_keys(['3f30439a-b387-4034-9ab6-9b3dc1c70153']) held by migration 87033fd7-f1c6-4e3b-b76a-acf28d5447e8 for instance