Bug 848772 - Scalable ruby-1.8 and ruby-1.9 app's gears are not synchronized
Summary: Scalable ruby-1.8 and ruby-1.9 app's gears are not synchronized
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-16 11:36 UTC by jizhao
Modified: 2015-05-14 22:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 18:20:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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