Project

General

Profile

Bug #14241

katello-installer --upgrade does not print error on stdout for an "Importing Errata" error

Added by Stephen Benjamin over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1267884
Description of problem:
If "Importing Errata" part of the upgrade fails with logs:

[DEBUG 2015-09-17 18:31:34 main] Importing Errata
Updating Content Host Repositories my-host.example.com
There was an error updating Content Host my-host.example.com with id 31

then this error is not printed out to stdout. That gives the user wrong perception the upgrade went smooth.

Version-Release number of selected component (if applicable):
katello-installer-2.3.17-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. (unknown - have Satellite where updating content host repositories fail with above error)
2. run katello-installer --upgrade
3. Check its output and its logfile

Actual results:
stdout will claim upgrade went successfully
logfile will have errors like above

Expected results:
stdout needs to warn about the errors

Additional info:


Related issues

Has duplicate Katello - Bug #14287: Upgrade from Katello 2.4 to 3.0 fails at step errata_import Duplicate2016-03-20

Associated revisions

Revision c55e0df1 (diff)
Added by Mike McCune over 4 years ago

Fixes #14241 - removing old upgrade steps we no longer support

Revision af32f912 (diff)
Added by Mike McCune over 4 years ago

fixes #14241 - removing 2.1 and 2.2 upgrade scripts

We are moving to supporting upgrading from all prior to N-2 and N-1
versions to simplify long term maintenence of these older upgrade
scripts.

Revision d9b4f57c
Added by Mike McCune over 4 years ago

Merge pull request #316 from mccun934/20160321-1047

Fixes #14241 - removing old upgrade steps we no longer support

Revision dbd5fbbb
Added by Mike McCune over 4 years ago

Merge pull request #5906 from mccun934/20160321-1028

Fixes #14241 - removing 2.1 and 2.2 upgrade scripts

History

#1 Updated by The Foreman Bot over 4 years ago

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

#2 Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/316 added

#3 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 86

#4 Updated by Eric Helms over 4 years ago

  • Has duplicate Bug #14287: Upgrade from Katello 2.4 to 3.0 fails at step errata_import added

#5 Updated by Stephen Benjamin over 4 years ago

  • Assignee changed from Stephen Benjamin to Mike McCune

#6 Updated by Anonymous over 4 years ago

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

Also available in: Atom PDF