Project

General

Profile

Bug #15945

upgrade_check fails because of running tasks

Added by Bryan Kearney almost 3 years ago. Updated 10 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Upgrades
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1361785
Description of problem:
Run the pre-upgrade check script to get a list of hosts that can be deleted after upgrading. If any unassociated hosts are found, associating them to an organization before upgrading is recommended.

  1. foreman-rake katello:upgrade_check

Problem is that the upgrade_check fails when there are running tasks.

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

How reproducible:
100%

Steps to Reproduce:
  1. foreman-rake katello:upgrade_check
    This script makes no modifications and can be re-run multiple times for the most up to date results.
    Checking upgradeability...
    Checking for running tasks...
    [FAIL] - There are 7 active tasks.

Actual results:
[FAIL] - There are 7 active tasks.

Expected results:
upgrade_check to continue

Additional info:

Associated revisions

Revision a0aeaa25 (diff)
Added by Bryan Kearney almost 3 years ago

Fixes #15945 - Improve the call to action on the task check. (#6223)

The output does not tell the user what to do next. Improve the output
to tell the user to wait for tasks to complete, or to cancel them.

History

#1 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Bryan Kearney
  • Pull request https://github.com/Katello/katello/pull/6223 added

#2 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 162
  • Difficulty set to trivial

#3 Updated by Bryan Kearney almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF