Bug 1549502
Summary: | Upgrade from sat6.2 -> 6.3 failed at migrate_foreman: "can't modify frozen Array" | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ivan Necas <inecas> | ||||
Component: | Upgrades | Assignee: | Ivan Necas <inecas> | ||||
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.3.0 | CC: | cdonnell, ehelms, inecas, jentrena, mbacovsk, mmccune, rakumar, sjagtap | ||||
Target Milestone: | Unspecified | Keywords: | PrioBumpGSS, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-katello-3.4.5.59-1.el7sat | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-04-13 13:32:28 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: | |||||||
Attachments: |
|
Description
Ivan Necas
2018-02-27 09:46:53 UTC
I was only able to reproduce, when moving the 'katello.paths' to happen after `sooner_routes_load` initializer. The possible fix should be patching katello package to enforce `:before => :sooner_routes_load` for the initializer. The difference could be caused by some non-standard plugin being present in the system. Created attachment 1401245 [details]
A possible patch to mitigate the issue
To apply:
cd /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.58
patch -p1 < ~/katello.patch
Run foreman-rake db:migrate and continue with the upgrade, if successful
Created redmine issue http://projects.theforeman.org/issues/22743 from this bug Fix proposed upstream https://github.com/Katello/katello/pull/7217 Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22743 has been resolved. Build : Satellite 6.3.1 snap1 Did a no-break satellite upgrade testing and the fix is present in satellite at /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.*/lib/katello/engine.rb The Upgrade was Successful from 6.2.14 to 6.3.1 and also from 6.3.0 to 6.3.1 Marking the BZ to Verified. 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, 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/RHBA-2018:1126 |