Project

General

Profile

Actions

Bug #25935

closed

Tasks cleanup rake tasks acts as an executor

Added by Ivan Necas almost 6 years ago. Updated over 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1669973

Description of problem:
The foreman_tasks:cleanup rake task runs as an executor. This means that during the task cleanup the rake task can actually start processing satellite's tasks. When the rake task exits it may (or may not) leave the tasks it was processing in some kind of bad state (abnormal termination?).

Version-Release number of selected component (if applicable):
I'm not aware of any recent change which could introduce this behavior, this probably affects all satellite versions.

How reproducible:
Always

Steps to Reproduce:
1. Go into dynflow console
2. Run foreman_tasks:cleanup rake task
3. Keep refreshing the page until a new world record appears

Actual results:
The world used by the rake task appears under executor worlds

Expected results:
The world used by the rake task appears under client worlds

Additional info:


Related issues 1 (0 open1 closed)

Is duplicate of foreman-tasks - Bug #30145: foreman-rake foreman_tasks:cleanup fails because Dynflow world is not initialized yetClosedAdam RuzickaActions
Actions #1

Updated by Ivan Necas almost 6 years ago

  • Subject changed from Tasks cleanup rake tasks acts as an executor to Tasks cleanup rake tasks acts as an executor

This seems like development-environment only issue

Actions #2

Updated by Adam Ruzicka over 3 years ago

  • Is duplicate of Bug #30145: foreman-rake foreman_tasks:cleanup fails because Dynflow world is not initialized yet added
Actions #3

Updated by Adam Ruzicka over 3 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF