Bug 859901

Summary: [fork] Can not embed rockmongo to ruby-1.9 app
Product: OKD Reporter: Jianwei Hou <jhou>
Component: ContainersAssignee: Paul Morie <pmorie>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jhonce, jizhao, xtian
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-11-06 18:49:29 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:
Attachments:
Description Flags
development.log none

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.