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: