Project

General

Profile

Bug #21207

Long running tasks like LOCE can stick around after restart

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

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

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


Related issues

Blocks Katello - Bug #21261: Long running tasks should use Dynflow::Action::SingletonClosed2017-10-10

History

#1 Updated by Adam Ruzicka almost 5 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.

#2 Updated by Adam Ruzicka almost 5 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

#3 Updated by Adam Ruzicka almost 5 years ago

  • Blocks Bug #21261: Long running tasks should use Dynflow::Action::Singleton added

#4 Updated by Ivan Necas almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 324
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF