Bug 1167599

Summary: The snapshot_exclusions value is useless for jbossews
Product: OpenShift Online Reporter: Anping Li <anli>
Component: ImageAssignee: Vojtech Vitek <vvitek>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: hripps, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-18 16:53:14 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 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.