Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Missing module/shared-object in latest libvirt update
@ 2024-07-26 20:14 TeusLollo
  2024-07-26 20:50 ` classabbyamp
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 20:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3220 bytes --]

New issue by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/51481

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.41_1 x86_64 GenuineIntel notuptodate rFFFF

### Package(s) Affected

libvirt-10.5.0_1 libvirt-python3-10.5.0_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

None known.

### Expected behaviour

`libvirt-10.5.0_1` & `libvirt-python3-10.5.0_1` are minor version bumps which would not be expected to produce major incompatibilities with pre-existing KVM/QEMU setups, but here we are. 

### Actual behaviour

After updating `libvirt-10.3.0_1` & `libvirt-python3-10.3.0_1` to `libvirt-10.5.0_1` & `libvirt-python3-10.5.0_1` respectively, one of my boxes running a KVM/QEMU setup begun throwing the following error while failing to launch virtual machines that were previously working: 


```
Error starting domain: internal error: Failed to load module '/usr/lib64/libvirt/storage-file/libvirt_storage_file_fs.so': /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_10.5.0' not found (required by /usr/lib64/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.12/site-packages/libvirt.py", line 1379, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: Failed to load module '/usr/lib64/libvirt/storage-file/libvirt_storage_file_fs.so': /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_10.5.0' not found (required by /usr/lib64/libvirt/storage-file/libvirt_storage_file_fs.so)
`
```

Such an error could be reversed by using the following commands:
```
xbps-rindex -a /var/cache/xbps/libvirt-10.3.0_1.x86_64.xbps
xbps-install -R /var/cache/xbps/ -f libvirt-10.3.0_1
xbps-rindex -a /var/cache/xbps/libvirt-python3-10.3.0_1.x86_64.xbps
xbps-install -R /var/cache/xbps/ -f libvirt-python3-10.3.0_1
```
After reboot, the KVM/QEMU setup was back in working shape. 

Given error output, I would have to guess something got lost either at compile time or at packaging time, unless some major feature was somehow dropped during a minor version bump. Given output, this error may only happen if virtual machines under a KVM/QEMU setup also have storage files attached. 

### Steps to reproduce

1. You may need a pre-existing KVM/QEMU setup that was previously reported working, possibly with attached storage files, although creating one ex-novo may also bring up that error, possibly. 

2. After updating `libvirt-10.3.0_1` & `libvirt-python3-10.3.0_1` to `libvirt-10.5.0_1` & `libvirt-python3-10.5.0_1` respectively, you may experience the aforementioned failure. 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-07-26 23:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
2024-07-26 20:50 ` classabbyamp
2024-07-26 22:20 ` TeusLollo
2024-07-26 22:21 ` TeusLollo
2024-07-26 22:26 ` classabbyamp
2024-07-26 23:18 ` TeusLollo
2024-07-26 23:20 ` TeusLollo
2024-07-26 23:20 ` TeusLollo
2024-07-26 23:20 ` TeusLollo
2024-07-26 23:21 ` TeusLollo
2024-07-26 23:21 ` TeusLollo
2024-07-26 23:30 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).