Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2254085 - Getting '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0] ERROR while trying to upgrade Satellite 6.13 to 6.14
Summary: Getting '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0] ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: 6.14.1
Assignee: Jeremy Lenz
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-11 21:05 UTC by Odilon Sousa
Modified: 2024-01-29 20:45 UTC (History)
8 users (show)

Fixed In Version: rubygem-katello-4.9.0.18-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2252064
Environment:
Last Closed: 2023-12-14 16:26:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36960 0 Urgent Ready For Testing Getting '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0] ERROR while trying to upgrade Satellite 6.1... 2023-12-11 21:05:56 UTC
Red Hat Issue Tracker SAT-21568 0 None None None 2023-12-11 21:05:56 UTC
Red Hat Issue Tracker SAT-21843 0 None None None 2023-12-11 21:06:14 UTC
Red Hat Product Errata RHSA-2023:7851 0 None None None 2023-12-14 16:27:01 UTC

Comment 4 Sam Bible 2023-12-13 18:58:36 UTC
Verified on 6.14.1 - Snap 2.1

Steps to Verify:
1. Spin up a 6.13 Satellite.
2. Create a Content View and promote to Library.
3. Create a new LCE, and make sure that it doesn't contain the CV
4. Create a Host, and through using some katello-rake commands from https://github.com/Katello/katello/pull/10817, assign it the Content View, and the LCE that doesn't contain the CV.
5. Attempt to upgrade to 6.14.1

Expected Results:
You don't run into any issues during the DB Migration step, and the upgrade completes successfully.

Actual Results:
You don't run into any issues during the DB Migration step, and the upgrade completes successfully.

Comment 8 errata-xmlrpc 2023-12-14 16:26:59 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 (Moderate: Satellite 6.14.1 Async Security Update), 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-2023:7851


Note You need to log in before you can comment on or make changes to this bug.