Bug 876842 - Meet Node Exception failure when adding cartridges without dependencies added first
Summary: Meet Node Exception failure when adding cartridges without dependencies added...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-15 06:17 UTC by joycezhang
Modified: 2015-05-15 00:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-19 19:26:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error log (38.82 KB, text/x-log)
2012-11-15 06:17 UTC, joycezhang
no flags Details

Description joycezhang 2012-11-15 06:17:40 UTC
Created attachment 645376 [details]
Error log

Description of problem:
If try to add phpmyadmin/rockmongo without mysql/mongodb added, following error is shown:
:exception=>#<OpenShift::NodeException: Node execution failure (invalid exit code from node). 
If the problem persists please contact Red Hat support.>}],
:exception=>#<OpenShift::NodeException: Node execution failure (invalid exit code from node). 
If the problem persists please contact Red Hat support.>}


Version-Release number of selected component (if applicable):
int.openshift.redhat.com
rhc-1.1.7.gem

How reproducible:
always

Steps to Reproduce:
1.Create an app
#rhc app create ews1 jbossews-1.0 -l jinzhang+1 -p redhat
2.Add cartridges like phpmyadmin, rockmongo which need dependencies
#rhc cartridge add rockmongo-1.1 -a ews1 -p redhat
  
Actual results:
Node execution failure. Please refer to the attached log.

Expected results:
Mearningful message is shown to ask user to add db first.

Additional info:
1. This issue is also reproduced when adding 10gen-mms-agent-0.1 witout  valid mms credentials.

Comment 1 Clayton Coleman 2012-11-15 18:25:35 UTC
This was fixed yesterday

Comment 2 Peter Ruan 2012-11-15 20:05:19 UTC
verified with devenv_2479 by trying to install rockmongo w/o having mongo installed in my app


'{"data":null,"messages":[{"exit_code":137,"field":null,"severity":"error","text":"MongoDB must be embedded before rockmongo."}],"status":"internal_server_error","supported_api_versions":[1.0,1.1,1.2,1.3],"type":null,"version":"1.3"}'


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