Bug 2118772
Summary: | Satellite upgrade to 6.12 fails during db:migrate with PG::UndefinedColumn: ERROR: column "created_at" of relation "taxable_taxonomies" does not exist | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gaurav Talreja <gtalreja> |
Component: | Organizations and Locations | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Shweta Singh <shwsingh> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.12.0 | CC: | lpramuk, lstejska, pcreech |
Target Milestone: | 6.12.0 | Keywords: | Regression, Triaged, UpgradeBlocker |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | foreman-3.3.0.5-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-16 13:35:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gaurav Talreja
2022-08-16 17:49:35 UTC
This may be related to the fix for bug 2108719. The MR for that bug introduced this migration to drop the created_at / updated_at. If those no longer exist in 6.12, that migration may not be necessary. Created redmine issue https://projects.theforeman.org/issues/35388 from this bug The patch prepared in upstream wouldn't fix the issue. The workaround right now is to rename the migration file and then re-run the installer. Something like this should help mv ~foreman/db/migrate/20220108135305_drop_unnecessary_timestamps.rb ~foreman/db/migrate/20220515130414_drop_unnecessary_timestamps.rb satellite-installer 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 (Important: Satellite 6.12 Release), 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-2022:8506 |