| Summary: | Scaled app, deployments retained over configured limit on a single gear | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | David Boyer <dave> | |
| Component: | Image | Assignee: | Andy Goldstein <agoldste> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 2.x | CC: | agoldste, bmeng, chunchen, dave | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Windows | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1038753 (view as bug list) | Environment: | ||
| Last Closed: | 2014-01-30 00:52:09 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1038753 | |||
|
Description
David Boyer
2013-12-05 14:29:43 UTC
David, are you saying that app-deployments has more than 1 directory named 2013-…? That's right. But only in my 2nd gear. (In reply to Andy Goldstein from comment #1) > David, are you saying that app-deployments has more than 1 directory named > 2013-…? Thanks David, I have been able to reproduce what you're seeing. I'm investigating the root cause now. Thanks for letting us know about the issue. You're more than welcome and I'm kind of glad it wasn't something I did ;-) Good luck with the bug hunt. Root cause identified; working on a fix now. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/754840e2b9dd32a1e30e05392af3cfbb195e3a8a Prune from child gear app-deployments dir Modify distribute implementation so it keeps the entire app-deployments dir (excluding the "current" symlink) in sync between the proxy gear and the child gears. Previously, each new deployment would create a new deployment dir on the children in app-deployments without pruning older deployment dirs, eventually filling up a gear's quota. Bug 1038634 It's fixed, verified on devenv_4102. |