Red Hat Bugzilla – Bug 1020020
OPENSHIFT_GEAR_MEMORY_MB does not change if the default template changes
Last modified: 2015-05-14 19:30:22 EDT
Description of problem:
OPENSHIFT_GEAR_MEMORY_MB is set based on the default template when a gear is created. Cartridges use it for tuning in their ERB processed configuration files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create apps
2. modify memory_limit_in_bytes in /etc/openshift/resource_limits.conf
3. [ The missing step that updates the gear environment and configuration ]
4. Restart apps
5. Check gear env OPENSHIFT_GEAR_MEMORY_MB and config files
Step 5 shows no changes.
Step 5 should have changed.
Step 3 is missing.
Taking off UpcomingRelease so we at least talk about this.
Gear migrations will be used to update values in gears.