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: