Description of problem: This is clone of https://bugzilla.redhat.com/show_bug.cgi?id=1080381#c4 Version-Release number of selected component (if applicable): devenv Step: 1. force-stop app 2. do restore snapshot [lijun@ray Work]$ rhc snapshot restore -a myphp53 -f myphp53.tar.gz Restoring from snapshot myphp53.tar.gz... Removing old git repo: ~/git/myphp53.git/ Removing old data dir: ~/app-root/data/* Restoring ~/git/myphp53.git and ~/app-root/data Error in trying to restore snapshot. You can try to restore manually by running: cat 'myphp53.tar.gz' | ssh 53315d8e87b85301db0004d1.rhcloud.com 'restore INCLUDE_GIT' $ cat 'myphp53.tar.gz' | ssh 53315d8e87b85301db0004d1.rhcloud.com 'restore INCLUDE_GIT' $ echo $? 255 Actual results: Expected results: Additional info:
https://github.com/openshift/origin-server/pull/5075
*** Bug 1080771 has been marked as a duplicate of this bug. ***
It's fixed, verified on devenv_4586, please refer to the following results: 1. Create an app rhc app create cphp4 php-5.4 mongodb-2.4 --no-git 2. Force sotp this app rhc app force-stop cphp4 3. Save snapshot for this app [chunchen@F17-CCY test]$ rhc snapshot save cphp4 Pulling down a snapshot of application 'cphp4' to cphp4.tar.gz ... done 4. Restore snapshot for this app [chunchen@F17-CCY test]$ rhc snapshot restore cphp4 -f cphp4.tar.gz Restoring from snapshot cphp4.tar.gz to application 'cphp4' ... done 5. Show the command exit status [chunchen@F17-CCY test]$ echo $? 0
There are the same issue on puddle [2.1/2014-04-02.2]