Bug 963172 - snapshot/restore big data failed
snapshot/restore big data failed
Product: OpenShift Origin
Classification: Red Hat
Component: Containers (Show other bugs)
Unspecified Linux
medium Severity medium
: ---
: ---
Assigned To: Jhon Honce
libra bugs
Depends On:
  Show dependency treegraph
Reported: 2013-05-15 06:20 EDT by nsun
Modified: 2015-05-14 19:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-15 14:18:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description nsun 2013-05-15 06:20:13 EDT
Description of problem:
big data restore failed

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

How reproducible:
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@phpbigdataji1l-sun005.osetestv2.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@phpbigdataji1l-sun005.osetestv2.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 14:18:30 EDT
~/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.