From 2c807fefe2032828cb612d93c1a54d43a8740737 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Thu, 28 Jun 2012 12:12:56 +0000 Subject: [PATCH] correction d'une erreur mineure dans les commentaires --- ClusterController/Util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )