Bug #33629
closedIn Katello 4.1 upgrade, installer failed with exit status 6 in the db:migrate stage.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2010230
Description of problem: In the Katello 4.1 upgrade, installer failed with exit status 6 in the db:migrate stage.
Version-Release number of selected component (if applicable):
Katello 4.1
How reproducible:
always
Steps to Reproduce:
Upgrade to Katello 4.1 with a Katello server that has a repository with an arch of something other than 'noarch' and whose content has a url without '$basearch' in it. Meeting those criteria triggers the migration bug.
stage.the/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
Actual results:
foreman-rake-db:migrate failed in the installer
Expected results:
foreman-rake-db:migrate should be completed successfully.
Additional info:
Updated by Ian Ballou about 3 years ago
- Subject changed from In Katello 4.1 upgrade, installer failed with exit status 6 in the db:migrate stage. to In Katello 4.1 upgrade, installer failed with exit status 6 in the db:migrate stage.
Edit: the issue occurs when going from 3.18 to 4.0, not 4.0 to 4.1.
Updated by The Foreman Bot about 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9693 added
Updated by The Foreman Bot about 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Anonymous about 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|c859fae6a89e542d37f78a64c8719d48f9091601.
Updated by Ian Ballou about 3 years ago
- Target version set to Katello 4.2.1
- Triaged changed from No to Yes