Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Libvirt 10.2.0 does not work (Read 280 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Libvirt 10.2.0 does not work

I'm not sure if this is an upstream problem, but updating libvirt to version 10.2.0 breaks something seemingly related to storage.

Here is the error that comes out from the virtual machine manager:

Code: [Select]
Error starting domain: internal error: Failed to load module '/usr/lib/libvirt/storage-file/libvirt_storage_file_fs.so': /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_10.2.0' not found (required by /usr/lib/libvirt/storage-file/libvirt_storage_file_fs.so)

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
    self._backend.create()
  File "/usr/lib/python3.11/site-packages/libvirt.py", line 1379, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: Failed to load module '/usr/lib/libvirt/storage-file/libvirt_storage_file_fs.so': /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_10.2.0' not found (required by /usr/lib/libvirt/storage-file/libvirt_storage_file_fs.so)

The only workaround I found so far is downgrading to 10.1.0 (and restarting libvirtd).

Re: Libvirt 10.2.0 does not work

Reply #1
I have this version of libvirt and it's working fine in both an updated Artix and an updated Arch.

Re: Libvirt 10.2.0 does not work

Reply #2
Well... that was quite embarrassing.

replabrobin's feedback made me look further into this, so I decided to delete the libvirt package from the cache and re-download it. That fixed the issue.

I don't understand why I didn't check it earlier.

Thanks for the help!