Bug #21261
Long running tasks should use Dynflow::Action::Singleton
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
Associated revisions
History
#1
Updated by The Foreman Bot over 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 over 4 years ago
- Blocked by Bug #21207: Long running tasks like LOCE can stick around after restart added
#3
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) set to 284
#4
Updated by Adam Ruzicka over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|ea51f03c05436c04c5f8a79c5fa8b8fce007864a.
Fixes #21261 - Use ::Dynflow::Action::Singleton for long running tasks
Specifically for EventQueue::Monitor and ListenOnCandlepingEvent