Bug 1071250

Summary: All the haproxy gears down for a few seconds during HA app restart
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: PodAssignee: Rajat Chopra <rchopra>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: bperkins, dmcphers, perobins
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-07-30 20:55:41 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:
Attachments:
Description Flags
platform_log_during_ha_restart none

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 ***