Bug 1411890
| Summary: | upgrade from 4.1 to 4.2 works, but web-ui still shows repository from 4.1 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Reartes Guillermo <greartes> | ||||||||
| Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> | ||||||||
| Status: | CLOSED DEFERRED | QA Contact: | luke couzens <lcouzens> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 5.7.0 | CC: | abellott, jfrey, jhardy, ncarboni, obarenbo, yrudman | ||||||||
| Target Milestone: | GA | ||||||||||
| Target Release: | cfme-future | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | upgrade | ||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2018-08-14 21:14:53 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
Reartes Guillermo
2017-01-10 16:52:43 UTC
Created attachment 1239156 [details]
web-ui showing old repo
Created attachment 1239159 [details]
web-ui showing old repo (after refresh)
Created attachment 1239161 [details]
appliance_console after upgrade
This seems to have been caused by this change (https://github.com/ManageIQ/manageiq/pull/11304/files#diff-83db7da7e7e6f4bcc58fc9e6b6637e9aR14). What's happening here is when we moved the value out of the database so we could get it out of the upstream code, we took whatever was there and put it in as a new user provided value. This value won't be overwritten by our new default value even if it was the default to begin with. A workaround for this would be to change the repos to the new default by editing the registration and clicking the "Default" button for the "Repository Name(s)" input box. In the database, this will remove the settings_changes row and take the default from now on when it is updated by new rpm versions. As to how to fix this, I'm not sure. Should we create a new migration to remove the settings change row if it was a previous version's default? Closing this BZ since there are no activity for the last 1.5 years and version 5.7 in "Maintanace Support" phase. |