[Bug 1372750] Re: A patch for collecting swap utilization in openvz

Brian Murray brian at ubuntu.com
Thu Jan 21 23:24:06 UTC 2016


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
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1372750

Title:
  A patch for collecting swap utilization in openvz

Status in collectd package in Ubuntu:
  Fix Released
Status in collectd source package in Trusty:
  Fix Committed

Bug description:
  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1372750/+subscriptions



More information about the Ubuntu-sponsors mailing list