Bug #17191
closedFailed upgrade step doesn't prevent the following steps to proceed
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1382503
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.
Updated by Ivan Necas about 8 years ago
- Subject changed from Failed upgrade step doesn't prevent the following steps to proceed to Failed upgrade step doesn't prevent the following steps to proceed
- Target version set to 1.3.2
Updated by Justin Sherrill about 8 years ago
- Translation missing: en.field_release set to 114
Updated by Ivan Necas almost 8 years ago
Looking into this a bit deeper, this happens only when there are multiple execution steps inside on upgrade step: it seems the foreman_mirgate is the only place it happens https://github.com/Katello/katello-installer/blob/73140936fba3992482c72635801d9d99875cc6da/hooks/pre/30-upgrade.rb#L65
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ivan Necas
- Translation missing: en.field_release deleted (
114) - Pull request https://github.com/Katello/katello-installer/pull/471 added
Updated by Ivan Necas almost 8 years ago
- Target version changed from 1.3.2 to 1.11.1
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release set to 219
Updated by Ivan Necas almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|24ef11bbe83162dae7dd64b47a3544a6820491fb.