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