foreman_tasks:cleanup leaves jobs in state 'queued'

Solution Verified - Updated -

Issue

  • Old job host details are cleaned after 30 days, but this also clears the job summary details and the status is changed to 'queued'.
  • Removing tasks using foreman-rake foreman_tasks:cleanup TASK_SEARCH="" AFTER=30d doesn't remove tasks completely.

Environment

  • Red Hat Satellite 6.2, 6.3, 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content