Bug 859901 - [fork] Can not embed rockmongo to ruby-1.9 app
Summary: [fork] Can not embed rockmongo to ruby-1.9 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: Paul Morie
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-24 11:17 UTC by Jianwei Hou
Modified: 2015-05-14 22:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:49:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
development.log (23.47 KB, text/x-log)
2012-09-24 11:17 UTC, Jianwei Hou
no flags Details

Description Jianwei Hou 2012-09-24 11:17:19 UTC
Created attachment 616481 [details]
development.log

Description of problem:
caught node execution failure when embedding rockmongo-1.1 to a ruby-1.9 application

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

How reproducible:
Always

Steps to Reproduce:
1. Create a ruby-1.9 app and embed mongodb
2. Embed rockmongo-1.1 to this app 

  
Actual results:
hjw@my apps$ rhc app cartridge add -a ruby19 -c rockmongo-1.1 -d -pxxx
Contacting https://ec2-107-21-160-59.compute-1.amazonaws.com
Problem reported from server. Response code was 500.

DEBUG:
Failed to restart master httpd, please contact support
Cartridge return code: 120

Exit Code: 143
broker_c: ["namespace", "rhlogin", "ssh", "app_uuid", "debug", "alter", "cartridge", "cart_type", "action", "app_name", "api"]
api_c: ["placeholder"]
API version:    1.1.3

RESULT:
Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.


Expected results:
Should embed rockmongo-1.1 successfully

Additional info:
Didn't reproduce for ruby-1.8 cartridge

Comment 1 Paul Morie 2012-09-25 19:33:44 UTC
The problem was a missing dependency for open4 for ruby-1.9.3. I've added the dep and pushed a fix for this.  I've added the dependency.

Comment 2 Xiaoli Tian 2012-09-27 05:47:20 UTC
Move it to ON_QA to verify in fork_ami_US2105_169

Comment 3 jizhao 2012-09-27 11:09:24 UTC
Verify this bug on fork_ami_US2105_169.

Actual results:
rockmongo can be embedded and used successfully.


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