Feature #16922

cronjob to clear old tasks

Added by Ivan Necas 6 months ago. Updated 14 days ago.

Status:New
Priority:High
Assigned To:Martin Bacovsky
Category:-
Target version:Foreman - Team Ivan Iteration 12
Difficulty: Bugzilla link:1425471
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

A job that will clear old tasks. This works well and helps significantly with issues like slow dashboard loading due to repo sync lookup times, but users need to remember to run the cleanup periodically.

Ideally, if the job was run via cron (similar to orphan task cleanup), users would not hit as many issues related to large numbers of old tasks.


Related issues

Related to Foreman - Bug #17495: Align foreman configuration report expiry with Task expiry Closed 11/27/2016

History

#1 Updated by Ivan Necas 6 months ago

  • Subject changed from cronjob to clear old tasks to cronjob to clear old tasks
  • Target version set to Team Ivan backlog

#2 Updated by Ohad Levy 4 months ago

  • Priority changed from Normal to High

knowing the amount of pain we had in puppet with expiring reports, I would raise this priory to high now that foreman core uses tasks to import reports.

#3 Updated by Ohad Levy 4 months ago

  • Related to Bug #17495: Align foreman configuration report expiry with Task expiry added

#4 Updated by Pat Riehecky 4 months ago

It would be nice if there was a way to set the length of time to keep the entries in the UI, rather than hard coded in the cronjob

#5 Updated by Ivan Necas about 1 month ago

  • Bugzilla link changed from 1384548 to 1425471

#6 Updated by Ivan Necas about 1 month ago

  • Target version changed from Team Ivan backlog to Team Ivan Iteration 11

#7 Updated by Ivan Necas 15 days ago

  • Target version changed from Team Ivan Iteration 11 to Team Ivan Iteration 12

#8 Updated by Martin Bacovsky 14 days ago

  • Assigned To set to Martin Bacovsky

Also available in: Atom PDF