Project

General

Profile

Actions

Bug #21207

closed

Long running tasks like LOCE can stick around after restart

Added by Adam Ruzicka about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dynflow
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Blocks Katello - Bug #21261: Long running tasks should use Dynflow::Action::SingletonClosedAdam Ruzicka10/10/2017Actions
Actions #1

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.

Actions #2

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
Actions #3

Updated by Adam Ruzicka about 7 years ago

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

Updated by Ivan Necas about 7 years ago

  • Status changed from Ready For Testing to Closed
  • Translation missing: en.field_release set to 324
Actions

Also available in: Atom PDF