diff --git a/ClusterController/Util.py b/ClusterController/Util.py index 7ae091f..7907edd 100644 --- a/ClusterController/Util.py +++ b/ClusterController/Util.py @@ -119,7 +119,7 @@ def blockingPutMachineToSleep( machineName ): logInfo('putting machine %s to sleep...' % machineName) iMaxNumAttempts = 5 bSuccess = False - bBUG_00000010_IS_STILL_ALIVE = True + bBUG_239_IS_STILL_ALIVE = True iAttempt = 0 # note : each sleep order is not actually succeeding (god knows why). Therefore, we need to try again and again. while not bSuccess: @@ -141,11 +141,11 @@ def blockingPutMachineToSleep( machineName ): assert(ePowerState == PowerState.ON) iAttempt += 1 if iAttempt > iMaxNumAttempts: - if bBUG_00000010_IS_STILL_ALIVE: - logWarning('the attempt to put %s to sleep failed to many times (probably because of bug 00000010 (machine is in a weird state : power on but no ssh possible) ?)... giving up. ' % (machineName)) + if bBUG_239_IS_STILL_ALIVE: + logWarning('the attempt to put %s to sleep failed too many times (probably because of bug 239 (machine is in a weird state : power on but no ssh possible) ?)... giving up. ' % (machineName)) return False else: - logWarning('the attempt to put %s to sleep failed to many times... giving up' % (machineName)) + logWarning('the attempt to put %s to sleep failed too many times... giving up' % (machineName)) return False else: logWarning('the attempt to put %s to sleep failed... trying again' % (machineName))