| Summary: | Failed to snapshot restore after migration for cartridge(php/python-3.3/python-2.6/nodejs/ruby-1.8 at least) | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | zhaozhanqi <zzhao> |
| Component: | Containers | Assignee: | Dan Mace <dmace> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | agoldste, bmeng, dmcphers, pmorie, xtian, zzhao |
| 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: | 2014-01-24 03:28:14 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: | |
|
Description
zhaozhanqi
2013-10-31 10:41:54 UTC
Could you please provide full details of the app(s) that failed: - cartridge(s) - scalable or not? - # of gears (if scalable) The cause of this was that the activate method does not return the same schema if the 'all' or 'gears' option isn't specified. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/d3ffef632823662978f5ebdbcd4ae528587d9d87 Fix bug 1025261: call activate with 'all' during restore Checked after migration to latest stage_branch from devenv-stage_528, both snapshot and restore can work well.
Pulling down a snapshot to redmine.tar.gz...
Creating and sending tar.gz
RESULT:
Success
Pulling down a snapshot to drupal.tar.gz...
Creating and sending tar.gz
RESULT:
Success
Pulling down a snapshot to jbeap1s.tar.gz...
Saving snapshot for secondary mongodb-2.2 gear
Creating and sending tar.gz
Saving snapshot for secondary postgresql-8.4 gear
Creating and sending tar.gz
Saving snapshot for secondary mysql-5.1 gear
Creating and sending tar.gz
Creating and sending tar.gz
RESULT:
Success
Pulling down a snapshot to php1s.tar.gz...
Saving snapshot for secondary mysql-5.1 gear
Creating and sending tar.gz
Saving snapshot for secondary mongodb-2.2 gear
Creating and sending tar.gz
Creating and sending tar.gz
RESULT:
Success
Restoring from snapshot redmine.tar.gz...
Removing old git repo: ~/git/redmine.git/
Removing old data dir: ~/app-root/data/*
Restoring ~/git/redmine.git and ~/app-root/data
Old and new names are the same, no need to rename
MySQL already running
/opt/rh/ruby193/root/usr/bin/ruby /var/lib/openshift/5273407c83aa6edfa9000027/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
Activation status: success
RESULT:
Success
Restoring from snapshot drupal.tar.gz...
Removing old git repo: ~/git/drupal.git/
Removing old data dir: ~/app-root/data/*
Restoring ~/git/drupal.git and ~/app-root/data
Old and new names are the same, no need to rename
MySQL already running
Activation status: success
RESULT:
Success
Restoring from snapshot jbeap1s.tar.gz...
Removing old git repo: ~/git/jbeap1s.git/
Removing old data dir: ~/app-root/data/*
Restoring ~/git/jbeap1s.git and ~/app-root/data
Restoring snapshot for mongodb-2.2 gear
Removing old data dir: ~/app-root/data/*
Restoring ~/app-root/data
connected to: 127.1.247.1:27017
Fri Nov 1 03:16:29.054 dump/admin/system.users.bson
Fri Nov 1 03:16:29.054 going into namespace [admin.system.users]
1 objects found
Fri Nov 1 03:16:29.061 Creating index: { key: { _id: 1 }, ns: "admin.system.users", name: "_id_" }
Fri Nov 1 03:16:29.062 Creating index: { key: { user: 1, userSource: 1 }, unique: true, ns: "admin.system.users", name: "user_1_userSource_1" }
Fri Nov 1 03:16:29.062 dump/jbeap1s/openshift.bson
Fri Nov 1 03:16:29.062 going into namespace [jbeap1s.openshift]
Fri Nov 1 03:16:29.062 dropping
1 objects found
Fri Nov 1 03:16:29.132 Creating index: { key: { _id: 1 }, ns: "jbeap1s.openshift", name: "_id_" }
Fri Nov 1 03:16:29.169 dump/jbeap1s/system.users.bson
Fri Nov 1 03:16:29.169 going into namespace [jbeap1s.system.users]
1 objects found
Fri Nov 1 03:16:29.169 Creating index: { key: { _id: 1 }, ns: "jbeap1s.system.users", name: "_id_" }
Fri Nov 1 03:16:29.173 Creating index: { key: { user: 1, userSource: 1 }, unique: true, ns: "jbeap1s.system.users", name: "user_1_userSource_1" }
Restoring snapshot for postgresql-8.4 gear
Removing old data dir: ~/app-root/data/*
Restoring ~/app-root/data
ERROR: database "jbeap1s" already exists
Restoring snapshot for mysql-5.1 gear
Removing old data dir: ~/app-root/data/*
Restoring ~/app-root/data
Old and new names are the same, no need to rename
Activation status: success
RESULT:
Success
Restoring from snapshot php1s.tar.gz...
Removing old git repo: ~/git/php1s.git/
Removing old data dir: ~/app-root/data/*
Restoring ~/git/php1s.git and ~/app-root/data
Restoring snapshot for mysql-5.1 gear
Removing old data dir: ~/app-root/data/*
Restoring ~/app-root/data
Old and new names are the same, no need to rename
Restoring snapshot for mongodb-2.2 gear
Removing old data dir: ~/app-root/data/*
Restoring ~/app-root/data
connected to: 127.1.246.129:27017
Fri Nov 1 03:18:12.908 dump/php1s/openshift.bson
Fri Nov 1 03:18:12.908 going into namespace [php1s.openshift]
Fri Nov 1 03:18:12.908 dropping
1 objects found
Fri Nov 1 03:18:12.916 Creating index: { key: { _id: 1 }, ns: "php1s.openshift", name: "_id_" }
Fri Nov 1 03:18:12.922 dump/php1s/system.users.bson
Fri Nov 1 03:18:12.922 going into namespace [php1s.system.users]
1 objects found
Fri Nov 1 03:18:12.923 Creating index: { key: { _id: 1 }, ns: "php1s.system.users", name: "_id_" }
Fri Nov 1 03:18:12.924 Creating index: { key: { user: 1, userSource: 1 }, unique: true, ns: "php1s.system.users", name: "user_1_userSource_1" }
Fri Nov 1 03:18:12.924 dump/admin/system.users.bson
Fri Nov 1 03:18:12.924 going into namespace [admin.system.users]
1 objects found
Fri Nov 1 03:18:12.925 Creating index: { key: { _id: 1 }, ns: "admin.system.users", name: "_id_" }
Fri Nov 1 03:18:12.926 Creating index: { key: { user: 1, userSource: 1 }, unique: true, ns: "admin.system.users", name: "user_1_userSource_1" }
Activation status: success
RESULT:
Success
|