Bug 852598 - Local gear of nodejs scalable app is down after creating this app
Summary: Local gear of nodejs scalable app is down after creating this app
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ram Ranganathan
QA Contact: libra bugs
URL:
Whiteboard:
: 851417 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-29 03:45 UTC by joycezhang
Modified: 2015-05-14 22:58 UTC (History)
4 users (show)

Fixed In Version: devenv_2115
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 21:30:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of gears status (66.63 KB, image/png)
2012-08-29 03:45 UTC, joycezhang
no flags Details
Fixed in devenv_2115 (64.74 KB, image/png)
2012-09-05 11:31 UTC, joycezhang
no flags Details

Description joycezhang 2012-08-29 03:45:00 UTC
Created attachment 607738 [details]
screenshot of gears status

Description of problem:
Local gear of nodejs scalable app is down after creating this app. Please refer to the screen shot in attachement

Version-Release number of selected component (if applicable):
devenv_2091
rhc-0.98.4.gem

How reproducible:
always


Steps to Reproduce:
1.Create a scalable app of nodejs
2.Check the gears status by haproxy status 

  
Actual results:
Local is down.


Expected results:
All gears are up by default.


Additional info:
Other cartridges work fine.

Comment 1 joycezhang 2012-08-30 10:14:50 UTC
This bug is still reproduced on devenv_2097. Thanks.

Comment 2 joycezhang 2012-08-31 06:59:17 UTC
This bug is still reproduced on devenv_2102. Thanks.

Comment 3 Ram Ranganathan 2012-09-05 05:57:04 UTC
Issue is the haproxy request results in a SIGPIPE as it closes the connection -- if you remove the SIGPIPE from server.js and redeploy the app, it should work fine. 

I will change the sample app to not trap SIGPIPE for any new apps. Not fixing old sample apps.

Comment 4 Ram Ranganathan 2012-09-05 06:01:15 UTC
Fixed with pull request:  https://github.com/openshift/crankcase/pull/453

Waiting on merge.

Comment 5 Xiaoli Tian 2012-09-05 08:16:55 UTC
The code is merged in devenv_2115, move it to ON_QA.

Comment 6 joycezhang 2012-09-05 11:31:06 UTC
This bug has been verified and fixed on devenv_2115. Please refer to the screenshot "Fixed in devenv_2115.png" in attachment.

Comment 7 joycezhang 2012-09-05 11:31:43 UTC
Created attachment 609991 [details]
Fixed in devenv_2115

Comment 8 Ram Ranganathan 2012-09-06 01:22:03 UTC
*** Bug 851417 has been marked as a duplicate of this bug. ***


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