Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-142127

Can't set parallel.channels by saveParams() [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.2
    • rhel-10.2
    • libvirt-python
    • None
    • libvirt-python-11.10.0-2.el10
    • None
    • Low
    • 1
    • rhel-virt-core-libvirt-1
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Libvirt Bugs already in Sprint
    • 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:

              pkrempa@redhat.com Peter Krempa
              rhn-support-lcheng Liping Cheng
              Peter Krempa Peter Krempa
              Liping Cheng Liping Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: