gem/oq-engine — pull request #884 by arbeit (2012-09-25 05:37:10+00:00)
Title: Count compute node failures

Hello there!

The branch at hand *prepares* the "abort calculation on compute node failure" feature. It adds logic to count the number of celery *nodes* that were likely to participate in a calculation but then experienced a failure.

This condition (in combination with a lack of progress) will trigger the abortion of a calculation by the supervisor.

The supervisor logic that is to use the code introduced in this branch is still forthcoming.

Please note: I may add a little improvement to the branch later (using celeryctl via python modules as opposed to calling it via subprocess) but the bulk of it will remain unaffected by that change.