Project

General

Profile

Actions

Feature #9471

closed

paddles: implement job expiration

Added by Zack Cerza over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

teuthology.front has to be rebooted pretty often these days due to cephfs issues. One of the negative side-effects is that when running jobs are killed by the reboot, they don't have a way to tell paddles they're dying. Cleaning them up manually is more time-consuming than it needs to be.

For now, implementing a pecan command that checks for running jobs with an updated timestamp that is past a certain age should be good enough.

It would be nice, though, to figure out a sane way to automatically execute that periodically.

Actions #1

Updated by Zack Cerza over 9 years ago

  • Status changed from New to Resolved

https://github.com/ceph/paddles/commit/1a1c5e528bf310c9b611ccfc7b46a9073b0406e7

Clean-up is now as easy as: pecan expire_jobs prod.py

Actions

Also available in: Atom PDF