[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
This bug was fixed in the package libvirt-python - 1.3.1-1ubuntu1.1 --- libvirt-python (1.3.1-1ubuntu1.1) xenial; urgency=medium * d/p/lp1731482-fix-crash-in-getAllDomainStats.patch: Fix crash when accessing getAllDomainStats (LP: #1731482). -- Christian Ehrhardt Wed, 15 Nov 2017 16:00:04 +0100 ** Changed in: libvirt-python (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
Tested and worked just as the ppa did: root@xenial-test:~# ./test.py past conn.getAllDomainStats [...] libvirt: Domain error : invalid domain pointer in virDomainFree Segmentation fault (core dumped) root@xenial-test:~# apt install python-libvirt Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: python-libvirt 1 upgraded, 0 newly installed, 0 to remove and 48 not upgraded. Need to get 117 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-libvirt amd64 1.3.1-1ubuntu1.1 [117 kB] Fetched 117 kB in 0s (951 kB/s) (Reading database ... 54557 files and directories currently installed.) Preparing to unpack .../python-libvirt_1.3.1-1ubuntu1.1_amd64.deb ... Unpacking python-libvirt (1.3.1-1ubuntu1.1) over (1.3.1-1ubuntu1) ... Setting up python-libvirt (1.3.1-1ubuntu1.1) ... root@xenial-test:~# ./test.py past conn.getAllDomainStats [...] ** Tags removed: verification-needed verification-needed-xenial ** Tags added: verification-done verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
Hello Felix, or anyone else affected, Accepted libvirt-python into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libvirt- python/1.3.1-1ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: libvirt-python (Ubuntu Xenial) Status: Triaged => Fix Committed ** Tags added: verification-needed verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
Late but comment #2 should have had [1]: https://wiki.ubuntu.com/StableReleaseUpdates [2]: https://wiki.ubuntu.com/OpenStack/CloudArchive ** Description changed: + [Impact] + + * bad free from libvirt python, getAllDomainStats is unusable + + * mostly python based stat apps like Ceilometer would be affected + + * fix is an upstream backport. + + [Test Case] + + * Execute the test program I wrote in comment #2 + + [Regression Potential] + + * it seems that so far any user of getAllDomainStats would have +segfaulted. What comes to my mind are solutions that worked before that +happened and ignored the latter segfault. By a change in behavior it +might now behave different. Still I think that is of very low risk. + + [Other Info] + + * n/a + + --- + The following bug is present in the curent version of libvirt-python in Xenial (1.3.1): https://bugzilla.redhat.com/show_bug.cgi?id=1326839 This bug has been resolved in 1.3.4 by the following commit: https://gitlab.com/libvirt/libvirt- python/commit/e9c4e2abffef007a28112ebb40a9586b0128f10b This bug is e.g. triggered when using OpenStack Telemetry (Ceilometer) and configuring it to collect "cpu" metering data. This leads to the segmentation fault mentioned in the linked bug report. The version of libvirt-python in Xenial should be updated to >= 1.3.4 or at least the linked fix should be backported. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
SRU Template ready and uploaded to xenial-unapproved for the SRU Team to review. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
ppa works on the test, prepping SRU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
I have put a testable build in https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/3037 ** Changed in: libvirt-python (Ubuntu Xenial) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
Test Program # cat test.py #!/usr/bin/python import libvirt import sys conn = libvirt.openReadOnly(None) if conn == None: print 'Failed to open connection to the hypervisor' sys.exit(1) try: allinfo = conn.getAllDomainStats() except: print 'Failed getAllDomainStats' print "past conn.getAllDomainStats" print allinfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
Hi Felix, thanks for your report. Per SRU policy [1] we won't backport 1.3.4 or newer. If you ever need soemthing like that take a look at UCA [2]. But backporting the fix is certainly the right thing to look at. ** Also affects: libvirt-python (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: libvirt-python (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1731482] Re: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats
** Tags added: patch xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731482 Title: outdated version of libvirt-python 1.3.1 crashes on call to getAllDomainStats To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs