Bug #14241
closedkatello-installer --upgrade does not print error on stdout for an "Importing Errata" error
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:
Added by Mike McCune about 9 years ago
Added by Mike McCune about 9 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.
Fixes #14241 - removing old upgrade steps we no longer support