Bug 1022015

Summary: haproxy local-gear should not be reenabled when activating if it's currently disabled
Product: OpenShift Online Reporter: Andy Goldstein <agoldste>
Component: ContainersAssignee: Mrunal Patel <mpatel>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, mpatel
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-24 03:26:07 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 Andy Goldstein 2013-10-22 13:40:55 UTC
Description of problem: When a scalable app has enough gears such that the local-gear has been disabled (e.g. 3 gears), the local-gear is reenabled during a deployment/activation when it should remain disabled.


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1. Create a scalable app
2. Scale up to 3 gears
3. Verify in the haproxy-status page that the local-gear is disabled
4. Make a change and deploy the change to the app

Actual results: local-gear is enabled


Expected results: local-gear remains disabled

Comment 2 openshift-github-bot 2013-10-23 03:46:45 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/a0014a2b7c36758947968a6ada2e68d59e9aef7a
Bug 1022015: Don't enable a disabled local gear on a git push.

Comment 3 Meng Bo 2013-10-23 09:06:50 UTC
Checked on devenv_3934, during git push, the MAINT gear will not be enabled.

Move bug to verified.