Bug 963172 - snapshot/restore big data failed
Summary: snapshot/restore big data failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-15 10:20 UTC by nsun
Modified: 2015-05-14 23:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-15 18:18:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.