Project

General

Profile

Bug #21261

Long running tasks should use Dynflow::Action::Singleton

Added by Adam Ruzicka almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

If the server has issues that result in unclean shutdown, its possible for the long-running tasks to not get cleaned up at termination. This prevents the long-running tasks from restarting upon server restart. Users have to shut down foreman-tasks again, clean the long-running tasks, and then restart.

The long-running tasks are "Listen On Candlepin Events" and "Monitor Event Queue".


Related issues

Blocked by foreman-tasks - Bug #21207: Long running tasks like LOCE can stick around after restartClosed2017-10-05

Associated revisions

Revision ea51f03c (diff)
Added by Adam Ruzicka almost 4 years ago

Fixes #21261 - Use ::Dynflow::Action::Singleton for long running tasks

Specifically for EventQueue::Monitor and ListenOnCandlepingEvent

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6996 added

#2 Updated by Adam Ruzicka almost 4 years ago

  • Blocked by Bug #21207: Long running tasks like LOCE can stick around after restart added

#3 Updated by Justin Sherrill almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

#4 Updated by Adam Ruzicka almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF