| Summary: | Backup/restore fails to run on an appliance after inplace uprgade | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | luke couzens <lcouzens> |
| Component: | Appliance | Assignee: | Yuri Rudman <yrudman> |
| Status: | CLOSED NOTABUG | QA Contact: | luke couzens <lcouzens> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7.0 | CC: | abellott, cpelland, dajohnso, jhardy, jkrocil, lcouzens, obarenbo, yrudman |
| Target Milestone: | GA | ||
| Target Release: | cfme-future | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | black:upgrade:migration | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 20:52:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
|
Description
luke couzens
2016-10-12 11:34:35 UTC
Heres a pastbin of the error in manual pg_restore unrecognized configuration parameter "row_security" http://pastebin.test.redhat.com/420360 Yuri, please investigate. Thanks! 'row_security' configuration setting is new in 9.5, and that error indicates that 'pg_dump' used to create dump is version 9.5 but database dump restore into is still older one and need to be upgraded ( https://github.com/ManageIQ/manageiq-appliance/blob/master/LINK/usr/bin/miq_postgres_upgrade.sh) Hi Yuri, so the issue I was having was after migrating to latest build I was no longer able to restore to new backups I created from said build. I can retest this with running the postgres upgrade script before creating and restoring backups if you suspect this is the issue here? At the point of testing this we didnt have the upgrade script in place. I was of the assumption that it would continue to use postgres94 until I run the upgrade script, but perhaps this is wrong. Hi Luke, Yes, you need to run postgres upgrade script after upgrading appliance and before using pg_dump/restore. Hi Yuri, Just tested this on 5.7.0.9 and you are correct it works correctly after running the postgres upgrade, feel free to close this bz. Thanks, Luke Thank you Luke for update ! |