Bug 1022721 - Adding a new web proxy gear fails because it tries to rotate out/in the new proxy gear unnecessarily and prematurely
Summary: Adding a new web proxy gear fails because it tries to rotate out/in the new p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Andy Goldstein
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-23 20:49 UTC by Andy Goldstein
Modified: 2015-05-14 23:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:26:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.