Project

General

Profile

Actions

Bug #21118

closed

Check not working as expected: foreman-tasks-not-running

Added by Swapnil Abnave over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Check
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

[foreman-tasks-not-running] Check for running tasks                     [pre-upgrade]

Possibly due to: https://github.com/theforeman/foreman_maintain/blob/master/definitions/features/foreman_tasks.rb#L35-L40


Related issues 1 (0 open1 closed)

Has duplicate Foreman Maintain - Feature #21351: Include foreman-rake katello:upgrade_check in pre_upgrade checksDuplicateKavita Gaikwad10/17/2017Actions
Actions #1

Updated by Swapnil Abnave over 6 years ago

  • Bugzilla link set to 1496384
Actions #2

Updated by Ivan Necas over 6 years ago

There is one catch with just enabling the check, as we have it currently in pre-upgrade checks, where the maintenance
mode is not enabled yet, and therefore, it might be pretty common that there are some running tasks.

We should move this check to the pre_migrations phase, together with some timeout with waiting for completing the tasks
in case there are some. Also, it should exclude Actions::Candlepin::ListenOnCandlepinEvents and
Actions::Katello::EventQueue::Monitor from this actions.

Actions #3

Updated by Kavita Gaikwad over 6 years ago

  • Assignee set to Kavita Gaikwad
Actions #4

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/114 added
Actions #5

Updated by Kavita Gaikwad over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Kavita Gaikwad over 6 years ago

  • Has duplicate Feature #21351: Include foreman-rake katello:upgrade_check in pre_upgrade checks added
Actions

Also available in: Atom PDF