Bug 1154649
| Summary: | Snapshot restore is not working (two scenarios) | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.2.0 | CC: | adellape, anli, jforrest, jhonce, jokerman, libra-bugs, libra-onpremise-devel, mitking, mmccomas, pruan |
| Target Milestone: | --- | Keywords: | Upstream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-origin-cartridge-jbosseap-2.22.1.1-1, openshift-origin-cartridge-jbossews-1.30.1.2-1.el6op | Doc Type: | Bug Fix |
| Doc Text: |
While restoring a snapshot for a JBoss EWS or JBoss EAP application, it was possible for the restoration to time out due to unnecessary content being stored in the snapshot. This bug fix updates the JBoss EWS and JBoss EAP cartridges to ensure that temporary artifacts are no longer snapshotted to save space and time. As a result, the time outs no longer occur. After applying this update, a cartridge upgrade is required.
|
Story Points: | --- |
| Clone Of: | 1147946 | Environment: | |
| Last Closed: | 2014-12-10 13:24:31 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: | |||
| Bug Depends On: | 1147946 | ||
| Bug Blocks: | |||
|
Description
Brenton Leanhardt
2014-10-20 12:26:29 UTC
Verified and pass on puddle-2-2-2014-11-24 1. rhc app create jbosseap jbosseap mysql-5.1 -s 2. create one big files under repo and standardalone/tmp 3. rhc snapshot save jbosseap. rhc snapshot save jbosseap 4. unzip snapshot files, all files under jbosseap/standalone/tmp directory wasn't back up. [anli@broker ~]$ ls -lah /home/anli/jbosseap/tmp/54740acae5fed547e70000f2/jbosseap/standalone/ total 24K drwxr-xr-x. 5 anli anli 4.0K Nov 24 21:52 . drwxr-xr-x. 11 anli anli 4.0K Nov 24 21:51 .. drwxr-xr-x. 3 anli anli 4.0K Nov 24 22:31 configuration drwxr-xr-x. 8 anli anli 4.0K Nov 24 21:53 data lrwxrwxrwx. 1 anli anli 94 Nov 24 22:36 deployments -> /var/lib/openshift/54740acae5fed547e70000f2/app-root/runtime/dependencies/jbosseap/deployments drwxr-xr-x. 2 anli anli 4.0K Nov 24 21:52 l 5. snapshot restore to other account with different domain, same app names. 6. access app after restored, access db after restore run same steps aganist jbossews-1.0 and jbossews-2.0. those apps can be access after restored. Hi Anping, I just noticed you filed Bug #1167599 upstream. Rather than wait another 3 weeks for us to pull that in to OSE I think we should include it with this fix. The fewer cartridge migrations OSE admins have to perform the better. Verified and pass on puddle-2-2-2014-11-26 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. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1979.html |