Bug 1022721

Summary: Adding a new web proxy gear fails because it tries to rotate out/in the new proxy gear unnecessarily and prematurely
Product: OpenShift Online Reporter: Andy Goldstein <agoldste>
Component: ContainersAssignee: Andy Goldstein <agoldste>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng
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:24 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-23 20:49:15 UTC
Description of problem: Adding a new web proxy gear will fail when the head gear tries to activate the code on the new gear - it will try to rotate out/in the new gear, but the new gear doesn't have a gear registry yet, so you get an exception. Also, there is no reason to rotate a new gear out/in when scaling up because it's not even in the haproxy configuration yet.


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


How reproducible: 100%


Steps to Reproduce:
1. Create scaled app
2. Try to make the app HA

Actual results: make-ha fails


Expected results: make-ha succeeds


Additional info:

Comment 1 Andy Goldstein 2013-10-23 21:09:07 UTC
https://github.com/openshift/origin-server/pull/3976

Comment 2 Meng Bo 2013-10-24 10:01:00 UTC
Checked on devenv_3939, the scalable app can be make-ha successfully.

And after that, all the gears have haproxy cartridge and gear registry.

Move bug to verified.