Bug 1032579 - the gear does not recover after changing it's ip
Summary: the gear does not recover after changing it's ip
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 12:23 UTC by Oleg Fayans
Modified: 2016-12-01 00:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 15:32:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Oleg Fayans 2013-11-20 12:23:46 UTC
Description of problem:
When I change the ip address of the local gear of a scalable application and then restart the app, the app becomes inaccessible and does not recover automatically. 

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

How reproducible:
Always

Steps to Reproduce:
1. Create a scalable app
2. ssh into the app and issue the following command:
sed -i "s/local-gear .*:8080/local_gear 10.10.10.10:8080/" haproxy/conf/haproxy.cfg
3. restart the app

Actual results:
The app becomes inaccessible and returns 503 response code

Expected results:
The app gets recovered in several seconds


Additional info:

Comment 5 Ben Parees 2014-07-04 15:32:22 UTC
haproxy.cfg cannot be locked since it needs to be updated during scale up/down operations.  See https://bugzilla.redhat.com/show_bug.cgi?id=1012812 for more discussion on locking this file.


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