Bug 963172

Summary: snapshot/restore big data failed
Product: OKD Reporter: nsun <nsun>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-15 18:18:30 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 nsun 2013-05-15 10:20:13 UTC
Description of problem:
big data restore failed

Version-Release number of selected component (if applicable):
devenv_3227

How reproducible:
devenv_3227
Step to reproduce:
1. create an php app
# rhc app create php php-5.3 -predhat
2. ssh login app and create bigfile under directory: ~/app-root/runtime/repo/php
# ssh 51930fae6e0f5d0e090000c9.com
> cd ~/app-root/runtime/repo/php
> dd if=/dev/urandom of=bigfile bs=1M count=300
3. snapshot save app
# rhc snapshot save php -predhat
4. login app to remove bigfile
# ssh 51930fae6e0f5d0e090000c9.com
> rm -f ~/app-root/runtime/repo/php/bigfile
5. snapshot restore app 
# rhc snapshot restore php -f php.tar.gz -predhat
6. check the bigfile existed in app


Actual results:
bigfile haven't exist in app 


expect results:
bigfile existed in app


Additional info:

Comment 1 Jhon Honce 2013-05-15 18:18:30 UTC
~/app-root/runtime/repo/php is not a directory snapshot records. $OPENSHIFT_DATA_DIR/bigdata could be a correct location to create your bigfile.