Bug 848772

Summary: Scalable ruby-1.8 and ruby-1.9 app's gears are not synchronized
Product: OKD Reporter: jizhao
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED WORKSFORME QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: jhonce, szhou
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: 2012-08-16 18:20:53 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 jizhao 2012-08-16 11:36:27 UTC
Description of problem:
Create a scalable ruby-1.8/ruby-1.9 app, do some changes to its home page and git push. Use curl to visit it. Sometimes we can still get the original Openshift Welcome page.

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

How reproducible:
Always

Steps to Reproduce:
1.Create a scalable ruby-1.8/ruby-1.9 app
2.Do some changes to its home page.
3.Use curl to visit that page several times.
  
Actual results:
Sometimes we can still get the original Openshift Welcome page.

Expected results:
All gears should be using the latest code.

Additional info:

Comment 1 Jhon Honce 2012-08-16 18:20:53 UTC
one screen --

while true; do
 curl --out /tmp/index.html.$(date +%N) http://app001-jwh201208160843.dev.rhcloud.com/
done

second screen --

git push


I was able to capture the state transitions for the application update:
 1) old code 
 2) 503 Service Temporarily Unavailable
 3) new code

Please re-open if you have a way to reproduce the issue.