| Summary: | Env vars such as OPENSHIFT_KEEP_DEPLOYMENTS are not set/created in new child gears on scale up | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Andy Goldstein <agoldste> |
| Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | jhou |
| 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-01-30 00:52:18 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: | |
|
Description
Andy Goldstein
2013-12-05 16:55:08 UTC
Fixed with --> https://github.com/openshift/origin-server/pull/4292 This fix ensures that any new gear that gets created gets the existing application configuration. New gears are created in the following cases: 1. Adding a db gear on a scalable app. 2. scaling up the cartridge. 3. adding a new haproxy gear for a multi-ha setup Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0f547b9f35123f89ed825693b5c4e5483584a10f Fix for bug 1038730 Verified on devenv_4102 Steps: 1. Create a scalable app 2. Set the number of keep deployments 3. Scale up this app 4. ssh into both gears and check the value of env $OPENSHIFT_KEEP_DEPLOYMENTS 5. Add db gear and repeat step 5 Result: The env $OPENSHIFT_KEEP_DEPLOYMENTS has the correct value in the new gears |