Public bug reported:

Ubuntu Precise, amd64, powernap 2.17-0ubuntu2

Symptoms: system gets shut down even under load, although the
loadmonitor had been configured.

Fix:

/usr/lib/python2.7/dist-packages/powernap/monitors/LoadMonitor.py :

Replace

 36         if os.getloadavg()[0] > t:

with

 36         if os.getloadavg()[0] > float(t):

and it works.

** Affects: powernap
     Importance: Undecided
         Status: New

** Affects: powernap (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: powernap (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1306994

Title:
  powernap loadavg monitor fails to detect load

To manage notifications about this bug go to:
https://bugs.launchpad.net/powernap/+bug/1306994/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to