-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.2
-
None
-
libvirt-python-11.10.0-2.el10
-
None
-
Low
-
1
-
rhel-virt-core-libvirt-1
-
None
-
False
-
False
-
-
No
-
Libvirt Bugs already in Sprint
-
Pass
-
Manual
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Can't set parallel.channels by saveParams()
Please provide the package NVR for which bug is seen:
libvirt-11.10.0-2.el10.x86_64
qemu-kvm-10.1.0-12.el10.x86_64
How reproducible:
100%
Steps to reproduce:
# python Python 3.12.12 (main, Jan 6 2026, 00:00:00) [GCC 14.3.1 20250617 (Red Hat 14.3.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import libvirt >>> conn = libvirt.open() >>> dom = conn.lookupByName("vm1") >>> dom.saveParams({"file": "/var/tmp/test_api_save_params.save", "parallel.channels": 2}) libvirt: error : invalid argument: invalid type 'ullong' for parameter 'parallel.channels', expected 'int' Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.12/site-packages/libvirt.py", line 2555, in saveParams raise libvirtError('virDomainSaveParams() failed') libvirt.libvirtError: invalid argument: invalid type 'ullong' for parameter 'parallel.channels', expected 'int' >>> dom.saveParams({"file": "/var/tmp/test_api_save_params.save", "parallel.channels": int(2)}) libvirt: error : invalid argument: invalid type 'ullong' for parameter 'parallel.channels', expected 'int' Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.12/site-packages/libvirt.py", line 2555, in saveParams raise libvirtError('virDomainSaveParams() failed') libvirt.libvirtError: invalid argument: invalid type 'ullong' for parameter 'parallel.channels', expected 'int' >>>
Expected results:
No error.
Actual results:
Failed to set parallel.channels.
Additional info:
- links to
-
RHBA-2025:155391
libvirt-python update