OQ Engine should trap the SIGTERM

Bug #1282561 reported by Daniele Viganò
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Engine
Fix Released
Medium
Michele Simionato

Bug Description

The OQ Engine should trap the SIGTERM and map it to the SIGINT.

This will:

- Mark the computation as failed instead of keeping it as "pending" or "running"
- Send the revoke command to Celery (and the SIGTERM if it's enabled in the settings)

helping the users managing killed process without restarting Celery.

The possibility to forcibly kill the process will remain through the SIGKILL command.

Revision history for this message
Michele Simionato (michele-simionato) wrote :
Changed in oq-engine:
status: New → In Progress
milestone: none → 1.0.1
assignee: nobody → Michele Simionato (michele-simionato)
Changed in oq-engine:
status: In Progress → Fix Committed
Changed in oq-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.