diff --git a/ClusterController/Util.py b/ClusterController/Util.py index 9203bdf..3db4bfb 100644 --- a/ClusterController/Util.py +++ b/ClusterController/Util.py @@ -32,7 +32,7 @@ def executeIpmiCommand( machineName, ipmiCommandArgs ): #print astrProgram bBUG_00000005_IS_STILL_ACTIVE = True if bBUG_00000005_IS_STILL_ACTIVE: - # bug 00000005 causes ipmitool to randomly fail for no apparent reason (two consecutive calls ight give different errors, these errors not always being timeouts). Therefore we try and try again, until the command succeeds. If we don't do this, cluster controller keeps stopping because ipmi commands fail. The effect of this hack is that the UNPLUGGED power state is no longer detected; therefore, with this hack, cluster controller is expecting all machines to be plugged. + # bug 00000005 causes ipmitool to randomly fail for no apparent reason (two consecutive calls might give different errors, these errors not always being timeouts). Therefore we try and try again, until the command succeeds. If we don't do this, cluster controller keeps stopping because ipmi commands fail. The effect of this hack is that the UNPLUGGED power state is no longer detected; therefore, with this hack, cluster controller is expecting all machines to be plugged. bCommandSucceeded = False while not bCommandSucceeded: (returnCode, stdout, stderr) = executeProgram( astrProgram )