Bug 964116
Summary: | Failed to snapshot the app with postgresql-8.4 after migration | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
Component: | Containers | Assignee: | Fotios Lindiakos <fotios> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | jkeck |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-11 04:05:34 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
Wei Sun
2013-05-17 09:26:02 UTC
Currently undergoing testing in a PR. Will merge when complete. https://github.com/openshift/origin-server/pull/2562 This is currently merging. Moving to ON_QA so that it can be tested when the merge completes. Commits pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/4c638a72568b06ed3bb7301742c61e58e053c76f Test for Bug964116 https://github.com/openshift/li/commit/dafb1341e67ee6430f0383d984fe150ea30f1690 Merge pull request #1427 from fotioslindiakos/Bug964116 Merged by openshift-bot Commits pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/3f839a864fc21f1fa5a484e6f55905e5b37c4b4a Bug 964116: Postgres failed to restore snapshot https://bugzilla.redhat.com/show_bug.cgi?id=964116 The `post_restore` function was attempting to delete the old user, even if it was the same as the new user. This has been fixed. https://github.com/openshift/origin-server/commit/d8a3b762eda7ad0ace02e938be7ccb62a133b8e5 Merge pull request #2562 from fotioslindiakos/Bug964116 Merged by openshift-bot Upgraded from devenv-stage_353 to devenv_3253,the error "database "phppsql" already exists" still exists,but data can be restored successfully.Verified it. Result: [sunwei@dhcp-8-229 dev]$ snapshot restore phppsql + rhc snapshot restore phppsql -p redhat Restoring from snapshot phppsql.tar.gz... [Tue May 21 05:43:48 2013] [warn] module php5_module is already loaded, skipping Removing old git repo: ~/git/phppsql.git/ Removing old data dir: ~/app-root/data/* Restoring ~/git/32106fb4c1f311e282aa22000a989ca0.git and ~/app-root/data ERROR: database "phppsql" already exists [Tue May 21 05:44:27 2013] [warn] module php5_module is already loaded, skipping RESULT: Success |