Bug 1167599 - The snapshot_exclusions value is useless for jbossews
Summary: The snapshot_exclusions value is useless for jbossews
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Vojtech Vitek
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-25 06:55 UTC by Anping Li
Modified: 2015-05-15 00:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 16:53:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Anping Li 2014-11-25 06:55:50 UTC
Description of problem:
There isn't standalone directory for jbossews. so the values of snapshot_exclusions should be changed.

Version-Release number of selected component (if applicable):
openshift-origin-cartridge-jbossews-1.30.1-1.git.54.fe2bc0e.el6.noarch


How reproducible:
always

Steps to Reproduce:
1.grep -A  2 snapshot_exclusions managed_files.yml 

snapshot_exclusions:
- standalone/tmp


Actual results:

snapshot_exclusions:
- standalone/tmp


Expected results:

The snapshot_exclusions:
- tmp

Additional info:

Comment 1 Vojtech Vitek 2014-11-26 00:04:20 UTC
https://github.com/openshift/origin-server/pull/5982

Comment 2 openshift-github-bot 2014-11-26 04:47:32 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/09eb33622f86737135ba8efc8b39e04e2c09109d
Fix jbossews snapshot_exclusions

Credit: Anping Li <anli>

Bug 1167599 - https://bugzilla.redhat.com/show_bug.cgi?id=1167599

Comment 3 Anping Li 2014-11-27 12:14:34 UTC
Verified and pass.

1) standalone/tmp was replaced with /tmp. 
2) rhc snapshot jbossews. the jbossews/tmp was exclued.
3) rhc snapshot restore, the application can be restored.


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