Bug 1382503

Summary: Failed upgrade step doesn't prevent the following steps to proceed
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: UpgradesAssignee: Ivan Necas <inecas>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: bbuckingham, bkearney, inecas, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ivan Necas 2016-10-06 20:24:18 UTC
Description of problem:

If there is an issue with running a step in the pre-upgrade script,
the upgrade script continues with the execution. This might lead to more
serious issues later in the upgrade and complicates the debugging.

Steps to Reproduce:
1. run upgrade in which some migration steps fail

Actual results:

The upgrade continues with next steps

Expected results:

The upgrade fails immediately, providing enough information about the error.

Comment 2 Ivan Necas 2016-11-02 23:06:32 UTC
Created redmine issue http://projects.theforeman.org/issues/17191 from this bug

Comment 3 Ivan Necas 2017-01-24 23:27:21 UTC
Fix proposed at https://github.com/Katello/katello-installer/pull/471

Comment 4 Satellite Program 2017-01-25 01:15:29 UTC
Upstream bug assigned to inecas

Comment 5 Satellite Program 2017-01-25 01:15:32 UTC
Upstream bug assigned to inecas

Comment 6 Satellite Program 2017-01-26 19:15:51 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17191 has been resolved.

Comment 10 Satellite Program 2018-02-21 16:54:37 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> > 
> > For information on the advisory, and where to find the updated files, follow the link below.
> > 
> > If the solution does not work for you, open a new bug report.
> > 
> > https://access.redhat.com/errata/RHSA-2018:0336