Project

General

Profile

Bug #21421

[Improvement] ::Actions::Insights::EmailPoller to be automatically started on foreman-tasks startup, like e.g. LOCE is

Added by Adam Ruzicka almost 3 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
In case ::Actions::Insights::EmailPoller task is stopped (due to whatever error or user (wrong) intervention), (re)starting foreman-tasks service should ensure re-spawning the task.

This feature is already present for ListenOnCandlepinEevents (LOCE) task, as well as for MonitoQueue::Listener one. It should be available also for the last forever-running/pending task in Satellite.

Version-Release number of selected component (if applicable):
Sat 6.2.12

How reproducible:
100%

Steps to Reproduce:
1. Somehow stop that task, e.g. manually Cancel it
2. service foreman-tasks restart
3. Check if that task is running

Actual results:
An instance of that task type is running or scheduled, most probably it is in stopped/error state.

Expected results:
An instance of that task type should be in scheduled/pending state.

Additional info:

History

#1 Updated by Adam Ruzicka almost 3 years ago

  • Target version set to 113

Also available in: Atom PDF