Bug #21207
closedLong running tasks like LOCE can stick around after restart
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1476796
Description of problem:
(note: this bug is related to the way a couple of tasks are managed, not the tasks plugin itself. I wasn't sure of the best category)
If the Satellite 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". I haven't seen issues with "Insights Email Notifications" but it may fall into the same boat.
Version-Release number of selected component (if applicable): 6.2.10
Updated by Adam Ruzicka about 7 years ago
- Subject changed from LOCE task can stick around after restart to Long running tasks like LOCE can stick around after restart
We've seen more than enough cases where due to some restarts these tasks either refuse to start or start when they shouldn't. We need a way to reliably enforce there is exactly one of each of these tasks running.
Updated by Adam Ruzicka about 7 years ago
- Category set to Dynflow
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Target version set to 226
- Pull request https://github.com/Dynflow/dynflow/pull/253 added
Updated by Adam Ruzicka about 7 years ago
- Blocks Bug #21261: Long running tasks should use Dynflow::Action::Singleton added
Updated by Ivan Necas about 7 years ago
- Status changed from Ready For Testing to Closed
- Translation missing: en.field_release set to 324