Occasional very slow replies from cgmanager

Bug #1493135 reported by Serge Hallyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cgmanager (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
Unassigned

Bug Description

[Impact]

* CGManager takes 8 seconds or more for each reply

* CGManager links against dbus which attempts to open
  /root/.dbus-keyrings/org_freedesktop_general.lock. We don't actually need
  that, and /root is sometimes ro (especially at early boot).

* The fix is to backport an upstream patch which mounts a tmpfs onto /root

[Test Case]

stop cgmanager
mount --bind /root /root
mount -o bind,remount,ro /root
start cgmanager
cgm ping <- this may be slow
(This is unfortunately not 100% reproducible)

[Regression Potential]

There should be none.

Changed in cgmanager (Ubuntu):
importance: Undecided → High
Changed in cgmanager (Ubuntu Trusty):
importance: Undecided → High
Changed in cgmanager (Ubuntu):
status: New → Fix Released
Changed in cgmanager (Ubuntu Trusty):
status: New → Triaged
description: updated
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Serge, or anyone else affected,

Accepted cgmanager into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cgmanager/0.24-0ubuntu7.4 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 cgmanager (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The cherrypick went bad. The patch is completely wrong :(

tags: added: verification-failedd
removed: verification-needed
tags: added: verification-failed
removed: verification-failedd
Mathew Hodson (mhodson)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Serge, or anyone else affected,

Accepted cgmanager into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cgmanager/0.24-0ubuntu7.5 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!

tags: removed: verification-failed
tags: added: verification-needed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Tested twice, works here.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cgmanager - 0.24-0ubuntu7.5

---------------
cgmanager (0.24-0ubuntu7.5) trusty-proposed; urgency=medium

  * Fix d/p/0011-mount_tmpfs_onto_root.patch which was badly
    cherrypicked.

cgmanager (0.24-0ubuntu7.4) trusty-proposed; urgency=medium

  * d/p/0011-mount_tmpfs_onto_root.patch: mount a tmpfs onto /root to avoid
    hanging trying to open /root/.dbus-keyrings/org_freedesktop_general.lock
    (LP: #1493135)

 -- Serge Hallyn <email address hidden> Wed, 16 Sep 2015 12:06:58 -0500

Changed in cgmanager (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for cgmanager has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.