correction d'un problème qui faisait que clustercontroller ainsi que la page web clusterstatus plantait losque'une machine était réaffectée à une autre queue (et donc qu'une queuemachine était marquée comme obsolète)

This commit is contained in:
Guillaume Raffy 2013-04-19 09:00:29 +00:00
parent bf472a82f4
commit 9da884ce7f
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ class QstatParser:
queueMachineState += QueueMachineStateFlags.UNKNOWN queueMachineState += QueueMachineStateFlags.UNKNOWN
elif c == 'E': elif c == 'E':
queueMachineState += QueueMachineStateFlags.ERROR queueMachineState += QueueMachineStateFlags.ERROR
elif c == 'o':
queueMachineState += QueueMachineStateFlags.OBSOLETE
else: else:
assert False, 'unhandled queue machine state flag :"' + c + '"' assert False, 'unhandled queue machine state flag :"' + c + '"'
return queueMachineState return queueMachineState