Your message dated Thu, 10 Jul 2014 16:00:07 +0000 with message-id <[email protected]> and subject line Bug#753675: fixed in libvirt-python 1.2.4-1 has caused the Debian Bug report #753675, regarding "libvirtError: argument unsupported: parameter '' not supported" on virDomainSetBlkioParameters to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 753675: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753675 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-libvirt Version: 1.2.1-2~bpo70+1 Severity: normal Dear Maintainer, Python-libvirt package in wheezy-backports have a serious bug that set-APIs just like virDomainSetBlkioParameters can not take function. I believe this is caused by a bug which is fixed in soucecode from libvirt community of version 1.2.4. The fix patch seems to be "setPyVirTypedParameter: Copy full field name"(commitid: 412c93a7b9111ad15c543e286f23bb5891749c42) in libvirt git repository(git://libvirt.org/libvirt-python.git) The steps to reporduce this bug are as following: 1) start a kvm vm 2) use ipython to call setBlkioParameters function as following: root@libvirt-test-gq:~# ipython Python 2.7.3 (default, Mar 13 2014, 11:03:55) Type "copyright", "credits" or "license" for more information. IPython 0.13.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import libvirt In [2]: conn = libvirt.open() In [3]: doms = conn.listAllDomains() In [4]: doms Out[4]: [<libvirt.virDomain at 0x26cb6d0>] In [5]: dom = doms[0] In [6]: dom.blkioParameters() Out[6]: {'device_read_bytes_sec': '', 'device_read_iops_sec': '', 'device_weight': '', 'device_write_bytes_sec': '', 'device_write_iops_sec': '', 'weight': 500} In [7]: params = {'weight': 250} In [8]: dom.setBlkioParameters(params, 0) libvirt: error : argument unsupported: parameter '' not supported --------------------------------------------------------------------------- libvirtError Traceback (most recent call last) <ipython-input-8-d746a68b6973> in <module>() ----> 1 dom.setBlkioParameters(params, 0) /usr/lib/python2.7/dist-packages/libvirt.pyc in setBlkioParameters(self, params, flags) 1961 """Change the blkio tunables """ 1962 ret = libvirtmod.virDomainSetBlkioParameters(self._o, params, flags) -> 1963 if ret == -1: raise libvirtError ('virDomainSetBlkioParameters() failed', dom=self) 1964 return ret 1965 libvirtError: argument unsupported: parameter '' not supported Then I compiled and installed the python-libvirt from sourcecode of 1.2.4 version and do the same operations as above, it returned the right answer now: root@libvirt-test-gq:~/github/libvirt-python# ipython Python 2.7.3 (default, Mar 13 2014, 11:03:55) Type "copyright", "credits" or "license" for more information. IPython 0.13.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import libvirt In [2]: conn = libvirt.open() In [3]: dom = conn.listAllDomains()[0] In [4]: params = {'weight': 250} In [5]: dom.setBlkioParameters(params, 0) Out[5]: 0 In [6]: dom.blkioParameters(0) Out[6]: {'device_read_bytes_sec': '', 'device_read_iops_sec': '', 'device_weight': '', 'device_write_bytes_sec': '', 'device_write_iops_sec': '', 'weight': 250} Besides the virDomainSetBlkioParameters function, I believe many set-APIs have the same problem in version 1.2.1. Can maintainer think about to package a new version of python-libvirt, or backport the fix patch? -- System Information: Debian Release: 7.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.10.40-openstack-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-libvirt depends on: ii libc6 2.17-97 ii libvirt0 1.2.4-1~bpo70+1 ii python 2.7.3-4+deb7u1 Versions of packages python-libvirt recommends: ii libvirt-bin 1.2.4-1~bpo70+1 python-libvirt suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: libvirt-python Source-Version: 1.2.4-1 We believe that the bug you reported is fixed in the latest version of libvirt-python, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Guido Günther <[email protected]> (supplier of updated libvirt-python package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 10 Jul 2014 08:38:03 +0200 Source: libvirt-python Binary: python-libvirt python3-libvirt Architecture: source amd64 Version: 1.2.4-1 Distribution: unstable Urgency: medium Maintainer: Guido Günther <[email protected]> Changed-By: Guido Günther <[email protected]> Description: python-libvirt - libvirt Python bindings python3-libvirt - libvirt Python 3 bindings Closes: 605965 750323 753675 Changes: libvirt-python (1.2.4-1) unstable; urgency=medium . * [5d4293a] Indicate that we break older virtinst by the virStream changes in d43cb4c80a1986a2aa275a80b11685b13b58bfe5. leading to errors like: ERROR 'virStream' object has no attribute 'upload' * [611d8de] New upstream version 1.2.4 (Closes: #750323, #753675, #605965) * [498ac54] Drop patches, all fixed upstream * [a319328] Add python3 support * [42e49b0] Depend on newer libvirt for the API XML files * [b0aa3c9] Update gbp.conf for sid builds Checksums-Sha1: 3ef5e772cd3e319aa0592af87db68af1891ad26b 2019 libvirt-python_1.2.4-1.dsc 1c41027fac688cd2d6e8ae01819acc4317352db5 150662 libvirt-python_1.2.4.orig.tar.gz af82d0bf489b1abcf34e0c1ba13de53328dfedb2 2536 libvirt-python_1.2.4-1.debian.tar.xz a26f69289ba5ee645ef7bbe3fb5b545807bcc396 159834 python-libvirt_1.2.4-1_amd64.deb 790cdaca68b3315d07727a273e87a2d7668180bd 158954 python3-libvirt_1.2.4-1_amd64.deb Checksums-Sha256: 1e3ae6660e73a513bb3db908b4eff2febe6a8a61e49eb3db4a40ec4250ba3f2c 2019 libvirt-python_1.2.4-1.dsc a2f30059b8870b3808b2bd2f19210422a348649a8f53523c2cbfa5cd64af217e 150662 libvirt-python_1.2.4.orig.tar.gz 6b8bff0742e10ae18cc9f5465509e49f3cd7100c11e63db79075d888d385fc38 2536 libvirt-python_1.2.4-1.debian.tar.xz d8a1354094f33850d04b1f14b02d0aacd9df5304120cd44ba4c0d1ab32fbb35c 159834 python-libvirt_1.2.4-1_amd64.deb 75b8c706f2e5c05739baab769a8315e859bb4e1d53e3d0f55d04ee3b3983c6e0 158954 python3-libvirt_1.2.4-1_amd64.deb Files: b4861753f01a7f49683806b8bc0a751e 159834 python optional python-libvirt_1.2.4-1_amd64.deb 1e76353e86c1025930bbc69aeac6d9ec 158954 python optional python3-libvirt_1.2.4-1_amd64.deb 775394d6101515b99fd780ba173d8a04 2019 python optional libvirt-python_1.2.4-1.dsc fbcb68f898390b321cbfcbdaa8d0c1ba 150662 python optional libvirt-python_1.2.4.orig.tar.gz 6b110b639ebe7276fc09c9ff40aafece 2536 python optional libvirt-python_1.2.4-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBU742nQe4t7DqmBILAQhkSw/+LC90fv3W0UbJLL7Vlo2ruf6GLk6yRT6m jCQYbnmvcniz0mMNEM99xZptsBUc8Gti0beiykMowOk1YPZcKydQA0NNFkeNmGGj 4eksoFvM+S2wJQzvuGm/oq744uP5CuMIGpbJFuatsUrsLD7tpf+B3cRCaGGT6YTe 80HWxb6DSa1vAdWAUDjIlcwTz7VAm724Mqu4BjNA6HfcH676XabnNV3u2CgfCCHG mcsaq6Vy6v8Yf/8lI/x9ftSJuH7hv3VteUYZCQIvKxiq5hEe/vqhXP84+oaquwg+ 5Y05yKNndyQNvtYWy5thFznC3OOBcIICcFjaBdzRRBkATfwVjRpUtDEka0CEcwMp u4TIOew8QXM0afifjvt6sozHngL15n6TLT/mK4gNhj29U/iAhmOhb4ilTDMiAjob pYr9P/uAwxcyHNtv1okNk2yKPsjkP1eL0HlO5g5ZInmFKpUMY4RiJpqvkii9TXV4 yV+xF7C3FVZhpAeBpyq5xg/dYgLA3gTFuYNZ+ZEXdlIvhTND0yZ812S7UT9v/Nj8 LQKOApr6UaL3aoMWXZiTL/95z6fslJlkFOJRAPjvvzOfdnUV9YbSY4CKiCV4jEA9 gtE6NfztVmQUswwyUehSv6Gy1YmEQvKfoa2kkykxTzpv786nQhi8QQrjJikH2s8b TjVR+CvRSBM= =QUTg -----END PGP SIGNATURE-----
--- End Message ---

