-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.5
-
libvirt-10.4.0-1.el9
-
None
-
Moderate
-
sst_virtualization
-
ssg_virtualization
-
20
-
3
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
Automated
-
-
All
-
10.4.0
-
None
What were you trying to do that didn't work?
As subject
Please provide the package NVR for which bug is seen:
libvirt-10.0.0-7.el9.x86_64
python3-libvirt-10.0.0-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
Bind/unbind an interface device in the infinite loop
For example:
ADDR=0000:17:00.1; while true;do echo $ADDR> /sys/bus/pci/devices/$ADDR/driver/unbind;echo $ADDR>/sys/bus/pci/drivers/tg3/bind;done
Invoke nodeDeviceDefineXML:
import libvirt with libvirt.openReadOnly() as conn: while(True): conn.listDefinedInterfaces()
Result:
libvirt: XML-RPC error : Unable to encode message payload
---------------------------------------------------------------------------
libvirtError Traceback (most recent call last)
Cell In[5], line 3
1 with libvirt.openReadOnly() as conn:
2 while(True):
----> 3 conn.listDefinedInterfaces()
File /usr/lib64/python3.9/site-packages/libvirt.py:4923, in virConnect.listDefinedInterfaces(self)
4921 ret = libvirtmod.virConnectListDefinedInterfaces(self._o)
4922 if ret is None:
-> 4923 raise libvirtError('virConnectListDefinedInterfaces() failed')
4924 return ret
libvirtError: Unable to encode message payload
Expected results
No error
Actual results
As above
Thanks to rhn-support-lcheng for discovering this issue
- is blocked by
-
RHEL-29642 Rebase libvirt in RHEL-9.5.0
- Release Pending
- links to
-
RHSA-2024:130953 libvirt bug fix and enhancement update
- mentioned on