[Bug 1372750] Re: A patch for collecting swap utilization in openvz
This bug was fixed in the package collectd - 5.4.0-3ubuntu2.1 --- collectd (5.4.0-3ubuntu2.1) trusty; urgency=medium * debian/patches: - Added swap_in_openvz.dpatch: Fix swap tracking in OpenVZ (LP: #1372750). -- Marius GedminasTue, 03 Nov 2015 14:49:47 +0200 ** Changed in: collectd (Ubuntu Trusty) 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/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
I can confirm that the bug is fixed in the 5.4.0-3ubuntu2.1 Thank you ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Hello Ivan, or anyone else affected, Accepted collectd into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/collectd/5.4.0-3ubuntu2.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 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. 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: collectd (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
The package is in the upload queue. You can see it at https://launchpad.net/ubuntu/trusty/+queue?queue_state=1 There should be a post in this thread when it is released into trusty- proposed. Then the fix will need to be verified so that it can move into trusty-updates. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
I uploaded this to trusty's queue, thanks! I'm not sure if the SRU team will like the description though - if I were you I'd update it to clearly state the required information. https://wiki.ubuntu.com/StableReleaseUpdates#Procedure ** Changed in: collectd (Ubuntu Trusty) Status: New => In Progress ** Changed in: collectd (Ubuntu Trusty) Assignee: (unassigned) => Marius Gedminas (mgedmin) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
This is the first time I'm proposing an SRU. I've updated the description -- what should I do next? Unassign myself? Subscribe ubuntu-sponsors again? ** Description changed: + [Impact] + + * Any users of collectd that run Ubuntu 14.04 LTS in an OpenVZ container + will no longer be able to track swap usage. This is a regression from + Ubuntu 12.04 LTS + + [Test Case] + + * Get yourself an OpenVC container with some enabled swap space + + * sudo apt-get install collectd + + * Let it run for a few minutes + + * ls /var/lib/collectd/rrd/*/swap/ + + You should see four files there: swap-free.rrd swap_io-in.rrd swap_io- + out.rrd swap-used.rrd + + If you see only two (swap_io-in.rrd swap_io-out.rrd), then you're + affected by this bug + + [Regression Potential] + + * I see no way this could end badly ;) + + * I've backported the upstream patch to a package in my PPA (ppa:pov), + and have been running it since November 2015. + + [Other Info] + + * The upstream bug is https://github.com/collectd/collectd/issues/733. + It has a fix in master for the upcoming 5.5.0 release at + https://github.com/collectd/collectd/commit/8b618e1fb63ca5f8c741e95651bc41cf6e454588, + and a smaller fix suitable for backporting for older versions (since + 5.3.x) at + https://github.com/collectd/collectd/commit/1a146775d42a15202cba4e19c0fcda465705bcb8. + + + [Original Bug Report] + In collectd-5.4.0-3ubuntu2 there is a bug that prevents collectd from collecting information about swap utilization. Here is a corresponding issue on github: https://github.com/collectd/collectd/issues/733 Also the developer provided the minimalistic patch that fixes the issue and would be applicable for 5.4.0: https://github.com/collectd/collectd/commit/1a146775d42a15202cba4e19c0fcda465705bcb8 PS: forwarded from https://answers.launchpad.net/ubuntu/+source/collectd/+question/254877 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
** Changed in: collectd (Ubuntu Trusty) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
This bug was fixed in the package collectd - 5.5.0-4 --- collectd (5.5.0-4) unstable; urgency=medium * debian/collectd-core.overrides: - Update 'binary-or-shlib-defines-rpath' lintian override. * debian/rules: - Strip out non-deterministic bits out of generated jar files. - Remove RTLD_GLOBAL workaround, which was fixed upstream. * debian/patches: - Add bts802249_varnish_41.patch (Closes: #802249) -- Marc FournierMon, 16 Nov 2015 21:03:31 +0100 collectd (5.5.0-3) unstable; urgency=medium * debian/rules, debian/control: - Avoid hiding compiler options at build time, allowing the buildd log scanner to do it's job. - Disable smart plugin on non-linux platforms, due to missing libatasmart-dev build-dependency. * debian/collectd-core.overrides: - Update 'capitalization-error-in-description' lintian override. * debian/rules, debian/collectd-core.collectd.service: - Rename systemd service file to collectd-core.collectd.service, to honour debhelper's naming convention. * debian/collectd-core.collectd.service: - Check for configuration file presence before starting the daemon. - Check for configuration file validity before starting the daemon. * debian/control, debian/changelog: - Update my email address to match identity of current GPG key. -- Marc Fournier Sun, 13 Sep 2015 21:42:53 +0200 collectd (5.5.0-2) unstable; urgency=low * debian/rules: - Disable the turbostat plugin on !amd64,!i386; it's Intel-hardware specific. -- Sebastian Harl Sun, 23 Aug 2015 15:35:26 +0200 collectd (5.5.0-1) unstable; urgency=medium [ Marc Fournier ] * New upstream release: - Battery plugin now prefers sysfs over (the deprecated) procfs for reading values; thanks to Witold Baryluk for reporting this (Closes: #630337). - The configuration supports unquoted IPv6 addresses now; thanks to Geoff Crompton for reporting this (Closes: #632713). - Fixed a FTBFS using clang; thanks to Arthur Marble for reporting this and providing a patch (Closes: #758481). - collection.cgi now supports the df_complex types; thanks to Joel Franco Guzmán for reporting this (Closes: #739625). - Fixed an off-by-one error in the AVL tree implementation that broke setups using only one threshold definition; thanks to Alexander Golovko for reporting this (Closes: #754230). - The disk plugin now (optionally) supports instance names based on a udev attribute; thanks to Trent W. Buck for reporting this (Closes: #632936). * debian/patches: - Removed bts559801_plugin_find_fix.dpatch; merged upstream. - Removed bts747093_lvm_segfault.dpatch; merged upstream. - Removed bts750440_config_segfault.dpatch; merged upstream. - Removed bts770681_riemann_ack.dpatch; merged upstream. - Removed bts770683_curl_init.dpatch; merged upstream. - Removed bts770688_snmp_memleak.dpatch; merged upstream. - Removed bts770690_java_jni_thread_detach.dpatch; merged upstream. - Removed bts770693_timestamps.dpatch; merged upstream. - Removed bts770694_loglevel.dpatch; merged upstream. - Removed collection.cgi.dpatch; merged upstream. - Removed myplugin_api.dpatch; merged upstream. * debian/rules, debian/collectd-dev.install, myplugin_includes.dpatch: - Update path to header files moved to daemon/ subdirectory upstream. * debian/rules, debian/control: - Enable redis, write_redis plugins and add Build-depend on libhiredis-dev (previous versions depended on credis which wasn't packaged in Debian). - Enable sigrok and uncomment Build-depend on libsigrok-dev. - Re-enable varnish and uncomment Build-depend on libvarnishapi-dev (support for varnish 4.x was added upstream). - Enable zfs_arc (support for ZFS on linux was added upstream). - Add Build-depend on libatasmart-dev (required to build new smart plugin). - Add Build-depend on libcap-dev (used to avoid running new turbostat plugin as root on Linux). - Add Build-depend on libi2c-dev (required to build new barometer plugin). - Add Build-depend on libldap2-dev (required to build new openldap plugin). - Add Build-depend on librdkafka-dev (required to build new write_kafka plugin). - Add Build-depend on libudev-dev (used by disk plugin to enable udev-based device renaming on Linux) (Closes: #588153, #632936). * debian/control, debian/rules, debian/collectd.service: - Add systemd service file (Closes: #762586) * debian/libcollectdclient1.symbols - Updated for 5.5. [ Sebastian Harl ] * debian/control: - Add virtual-mysql-server as an alternative to the mysql-server suggests; thanks to Otto Kekäläinen for reporting this (Closes: 781980). - Add Marc to uploaders. - Update standards-version to 3.9.6 (no changes). * debian/po: -
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
** Also affects: collectd (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
** Tags added: trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Thank you for your work, the change looks good but for a SRU you need description of the impact/test case/regression potential (see https://wiki.ubuntu.com/StableReleaseUpdates). Also the issue should be fixed in the current serie before being backported (either by merging the new version from debian or by applying a similar patch to the current source) ** Changed in: collectd (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Yes, it's premature: I didn't realize that checking the [x] patch checkbox on the attachment would subscribe ubuntu-sponsors! Sorry about the noise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Meanwhile here's a debdiff. I'm uploading the patched package into ppa:pov for testing. ** Patch added: "fix-swap-on-openvz.debdiff" https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+attachment/4512042/+files/fix-swap-on-openvz.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
I overlooked debian/patches/00list in my first attempt. ** Patch added: "corrected debdiff" https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+attachment/4512045/+files/fix-swap-on-openvz-v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Upstream fix went into 5.5.0, according to git tags on https://github.com/collectd/collectd/commit/8b618e1fb63ca5f8c741e95651bc41cf6e454588. Debian testing has collectd 5.5.0. Ubuntu xenial is still on 5.4.1, so is, in theory, affected by this bug. (I don't have a spare OpenVZ container to test -- I'm renting these containers as cheap VPSes from a local provider.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
@mgedemin Marius that's great, thank you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Confirming that collectd 5.4.0-3ubuntu2pov2 from ppa:pov (i.e. the corrected debdiff) fixes this problem for me. https://launchpad.net/~pov/+archive/ubuntu/ppa/+packages?field.name_filter=collectd_filter=published_filter= Now, before this can be SRUd to trusty, it needs to be fixed in xenial. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Filed https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1512712 asking for a merge. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
The attachment "fix-swap-on-openvz.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: collectd (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1372750] Re: A patch for collecting swap utilization in openvz
This is a regression: swap tracking worked in Ubuntu 12.04 LTS. I intend to prepare a debdiff and ask for a SRU as per https://wiki.ubuntu.com/StableReleaseUpdates, if time permits. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1372750 Title: A patch for collecting swap utilization in openvz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs