Project

General

Profile

Actions

Bug #15694

closed

upgrade_check does not correctly determine active tasks

Added by Brad Buckingham over 8 years ago. Updated over 6 years ago.

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

Description

This redmine is being opened based upon a downstream finding with katello:upgrade_check.

The issue raised is:

The script currently checks of the number of running tasks is greater than 1. Since the query already excludes the candlepin listen event, the number of tasks acceptable should be 0. As a result, the script will pass incorrectly.

[root@rhsm-qe-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...
[PASS] - There are 1 active tasks.

Actions

Also available in: Atom PDF