Bug 756096

Summary: [RFE]change UNHIBERNATE default value to not wake up all the machines
Product: Red Hat Enterprise MRG Reporter: Luigi Toscano <ltoscano>
Component: condorAssignee: Timothy St. Clair <tstclair>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: esammons, matt, mkudlej, rrati, tstclair
Target Milestone: 2.3Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: condor-7.8.2-0.1 Doc Type: Enhancement
Doc Text:
C: The defaults caused machines to wake up unnecessarily. C: All sleeping machines are woken up after each ROOSTER_INTERVAL. C: Update the default to wakeup machines only if they have been matched within the last 1/2 hour. R: Machines are only woken up if they have a recent match.
Story Points: ---
Clone Of:
: 803359 (view as bug list) Environment:
Last Closed: 2013-03-06 18:39:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 803359    

Description Luigi Toscano 2011-11-22 17:05:55 UTC
Description of problem:
The out of the box definition of UNHIBERNATE is:
UNHIBERNATE = MachineLastMatchTime =!= UNDEFINED
Thus all the sleeping machines are woken up after each ROOSTER_INTERVAL (because ROOSTER_UNHIBERNATE=Offline && Unhibernate).

I understand that this value would probably need a tuning in every cluster, but I think that a more reasonable default value would be something like:

Unhibernate = CurrentTime - MachineLastMatchTime < 1200

as described here: 
https://lists.cs.wisc.edu/archive/condor-users/2010-April/msg00063.shtml

This could be maybe changed upstream.

Version-Release number of selected component:
condor-7.6.5-0.7

Comment 3 Timothy St. Clair 2012-03-19 18:12:38 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: The defaults caused machines to wake up unnecessarily. 
C: All sleeping machines are woken up after each ROOSTER_INTERVAL.
C: Update the default to wakeup machines only if they have been matched within the last 1/2 hour.
R: Machines are only woken up if they have a recent match.

Comment 7 Luigi Toscano 2013-01-28 18:26:01 UTC
The default value has been changed as described

Verified on RHEL5.9/6.4 beta, i386/x86_64 and windows package.
condor-7.8.8-0.4

Comment 9 errata-xmlrpc 2013-03-06 18:39:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0564.html