Project

General

Profile

Actions

Bug #15694

closed

upgrade_check does not correctly determine active tasks

Added by Brad Buckingham almost 8 years ago. Updated almost 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 #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6188 added
Actions #2

Updated by Jake Callahan almost 8 years ago

  • Assignee set to Jake Callahan
Actions #3

Updated by Jacob Callahan almost 8 years ago

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

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release set to 162
  • Difficulty set to trivial
Actions

Also available in: Atom PDF