Bug 1059429
| Summary: | moving a gear will create an empty deployment dir | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | anli, bmeng, chunchen |
| 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: | 2014-02-26 19:10:48 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
Brenton Leanhardt
2014-01-29 20:36:13 UTC
Here's one approach for dealing with this: https://github.com/openshift/origin-server/pull/4616 *** Bug 1057976 has been marked as a duplicate of this bug. *** Checked on devenv_4348, before and after move gear, the deployment dir is the same. [root@ip-10-239-28-10 52f5cfa081c9849092000027]# ls app-deployments/ 2014-02-08_01-33-10.039 by-id current [root@domU-12-31-39-04-70-20 52f5cfa081c9849092000027]# ls app-deployments/ 2014-02-08_01-33-10.039 by-id current And for bug 1057976, the app can be restored successfully after move. [root@domU-12-31-39-04-70-20 ~]# rhc snapshot restore ruby19 Restoring from snapshot ruby19.tar.gz... Removing old git repo: ~/git/ruby19.git/ Removing old data dir: ~/app-root/data/* Restoring ~/git/ruby19.git and ~/app-root/data Activation status: success RESULT: Success move bug to verified. |