Bug 1071250 - All the haproxy gears down for a few seconds during HA app restart
Summary: All the haproxy gears down for a few seconds during HA app restart
Keywords:
Status: CLOSED DUPLICATE of bug 1110035
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-28 11:12 UTC by Meng Bo
Modified: 2015-05-15 00:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-30 20:55:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
platform_log_during_ha_restart (6.96 KB, text/plain)
2014-02-28 11:12 UTC, Meng Bo
no flags Details

Description Meng Bo 2014-02-28 11:12:03 UTC
Created attachment 868987 [details]
platform_log_during_ha_restart

Description of problem:
During the HA app restart, visit the haproxy-status of all the haproxy gears, all got 503 for a few seconds. 

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

How reproducible:
always

Steps to Reproduce:
1. Create scalable app
2. Make the app HA via restapi
3. Set the min gear number to 4 for the app
4. Restart the app
5. Watch the two haproxy gears' haproxy-status page


Actual results:
There are a few seconds that the two haproxy-status page return 503.

Expected results:
Should not have down time for HA app.

Additional info:
Last few lines of platform.log attached.

Comment 1 Dan McPherson 2014-02-28 16:25:43 UTC
The appropriate way to get a rolling restart is to restart the web framework cart.  Although we can do better here as well.  Will keep the bug but not a high priority for now.

Comment 2 Rajat Chopra 2014-07-30 20:55:41 UTC
Set the tw_reuse flag for better behaviour.
See bug#1110035 for details.

*** This bug has been marked as a duplicate of bug 1110035 ***


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