Project

General

Profile

Actions

Bug #33629

closed

In Katello 4.1 upgrade, installer failed with exit status 6 in the db:migrate stage.

Added by Ian Ballou over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:

Actions #1

Updated by Ian Ballou over 2 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.

Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9693 added
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #4

Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Ian Ballou over 2 years ago

  • Target version set to Katello 4.2.1
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF