* [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
* Re: Missing module/shared-object in latest libvirt update
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
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-07-26 20:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 515 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253488894
Comment:
I can't reproduce this with
```
[*] libvirt-10.5.0_1 Virtualization API for controlling virtualization engines
[*] libvirt-devel-10.5.0_1 Virtualization API for controlling virtualization engines - development files
[*] libvirt-glib-5.0.0_1 Glib integration with libvirt
[*] libvirt-python3-10.5.0_1 Libvirt virtualization API Python3 binding
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
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
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 22:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253583641
Comment:
> I can't reproduce this with
>
> ```
> [*] libvirt-10.5.0_1 Virtualization API for controlling virtualization engines
> [*] libvirt-devel-10.5.0_1 Virtualization API for controlling virtualization engines - development files
> [*] libvirt-glib-5.0.0_1 Glib integration with libvirt
> [*] libvirt-python3-10.5.0_1 Libvirt virtualization API Python3 binding
> ```
Did another test on the same box.
Reupdated to `libvirt-10.5.0_1` & `libvirt-python3-10.5.0_1` and rebooted.
And...now I can't reproduce it neither. It just worked as if nothing happened.
There were no errors during any updates, nor any other symptom.
I'm starting to wonder if `libvirt-10.5.0_1` actually requires a reboot with each update?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
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
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 22:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253583641
Comment:
> I can't reproduce this with
>
> ```
> [*] libvirt-10.5.0_1 Virtualization API for controlling virtualization engines
> [*] libvirt-devel-10.5.0_1 Virtualization API for controlling virtualization engines - development files
> [*] libvirt-glib-5.0.0_1 Glib integration with libvirt
> [*] libvirt-python3-10.5.0_1 Libvirt virtualization API Python3 binding
> ```
Did another test on the same box.
Reupdated to `libvirt-10.5.0_1` & `libvirt-python3-10.5.0_1` and rebooted.
And...now I can't reproduce it neither. It just worked as if nothing happened.
There were no errors during any updates, nor any other symptom.
I'm starting to wonder if `libvirt` actually requires a reboot with each update?
Because, if it does, `xbps` could throw a message warning users that with each `libvirt` update a reboot may be necessary, kind of like the warning we get with each `pam` or `pipewire` update.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (2 preceding siblings ...)
2024-07-26 22:21 ` TeusLollo
@ 2024-07-26 22:26 ` classabbyamp
2024-07-26 23:18 ` TeusLollo
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-07-26 22:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253589106
Comment:
it probably requires a service restart, you can use `xcheckrestart` from xtools to find programs/services that need to be restarted
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (3 preceding siblings ...)
2024-07-26 22:26 ` classabbyamp
@ 2024-07-26 23:18 ` TeusLollo
2024-07-26 23:20 ` TeusLollo
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 23:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253638819
Comment:
> it probably requires a service restart, you can use `xcheckrestart` from xtools to find programs/services that need to be restarted
Actually, no, because I use an alias to update which also automatically runs `xcheckrestart` once updates are completed, and I am sure it didn't show up as in need to be restarted.
Of course, it's not like `xcheckrestart` can be perfect anyway.
Anyway, looks like we're done here. Closing this as "not planned".
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (4 preceding siblings ...)
2024-07-26 23:18 ` TeusLollo
@ 2024-07-26 23:20 ` TeusLollo
2024-07-26 23:20 ` TeusLollo
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 23:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253638819
Comment:
> it probably requires a service restart, you can use `xcheckrestart` from xtools to find programs/services that need to be restarted
Actually, no, because I use an alias to update which also automatically runs `xcheckrestart` once updates are completed, and I am sure it didn't show up as in need to be restarted.
Of course, it's not like `xcheckrestart` can be perfect anyway.
Anyway, looks like we're done here. Closing this as "not planned".
EDIT: It's not closing as "not planning", and the button is now grayed-out. Maybe I don't have required permissions.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (5 preceding siblings ...)
2024-07-26 23:20 ` TeusLollo
@ 2024-07-26 23:20 ` TeusLollo
2024-07-26 23:20 ` TeusLollo
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 23:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253639979
Comment:
Retring closure
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (6 preceding siblings ...)
2024-07-26 23:20 ` TeusLollo
@ 2024-07-26 23:20 ` TeusLollo
2024-07-26 23:21 ` TeusLollo
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 23:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253639979
Comment:
Retring closure
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (7 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 23:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253638819
Comment:
> it probably requires a service restart, you can use `xcheckrestart` from xtools to find programs/services that need to be restarted
Actually, no, because I use an alias to update which also automatically runs `xcheckrestart` once updates are completed, and I am sure it didn't show up as in need to be restarted.
Of course, it's not like `xcheckrestart` can be perfect anyway.
Anyway, looks like we're done here. Closing this as "not planned".
EDIT: It's not closing as "not planning", and the button is now grayed-out. Maybe I don't have required permissions.
EDIT: Can't close this for some reason. Will try later.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (8 preceding siblings ...)
2024-07-26 23:21 ` TeusLollo
@ 2024-07-26 23:21 ` TeusLollo
2024-07-26 23:30 ` [ISSUE] [CLOSED] " classabbyamp
10 siblings, 0 replies; 12+ messages in thread
From: TeusLollo @ 2024-07-26 23:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
New comment by TeusLollo on void-packages repository
https://github.com/void-linux/void-packages/issues/51481#issuecomment-2253638819
Comment:
> it probably requires a service restart, you can use `xcheckrestart` from xtools to find programs/services that need to be restarted
Actually, no, because I use an alias to update which also automatically runs `xcheckrestart` once updates are completed, and I am sure it didn't show up as in need to be restarted.
Of course, it's not like `xcheckrestart` can be perfect anyway.
Anyway, looks like we're done here. Closing this as "not planned".
EDIT: It's not closing as "not planned", and the button is now grayed-out. Maybe I don't have required permissions.
EDIT: Can't close this for some reason. Will try later.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [ISSUE] [CLOSED] Missing module/shared-object in latest libvirt update
2024-07-26 20:14 [ISSUE] Missing module/shared-object in latest libvirt update TeusLollo
` (9 preceding siblings ...)
2024-07-26 23:21 ` TeusLollo
@ 2024-07-26 23:30 ` classabbyamp
10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-07-26 23:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3461 bytes --]
Closed 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` https://github.com/void-linux/void-packages/pull/51316/commits/d442991b988553ec1d02e29da26274b464bba404 & `libvirt-python3-10.5.0_1` https://github.com/void-linux/void-packages/pull/51316/commits/119097b9809f471a19f660a43ed2680876c1c769 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).