Bug 773189 - Return Node execution failure when stop rockmongo again.
Summary: Return Node execution failure when stop rockmongo again.
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: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 07:39 UTC by bzhao
Modified: 2015-05-14 22:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 04:59:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description bzhao 2012-01-11 07:39:26 UTC
Description of problem:
when perform stop-rockmongo-1.1 again, it will prompt "Node execution failure (invalid exit code from node)."

Version-Release number of selected component (if applicable):
rhc-broker-0.84.37-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1. Embed mongodb to existing app
#rhc-ctl-app -l bzhao47 -a wsgitest -e add-mongodb-2.0

2. then embed rockmongo  to this app
#rhc-ctl-app -l bzhao47 -a wsgitest -e add-rockmongo-1.1

3. then stop rockmongo , then check this web interface .
#rhc-ctl-app -l bzhao47 -a wsgitest -e stop-rockmongo-1.1

5. stop this rockmongo again
#rhc-ctl-app -l bzhao47 -a wsgitest -e stop-rockmongo-1.1


Notes: test all support kinds of app, like php, wsgi, rack, perl and jbossas. they have the same issue.
  
Actual results:
output "Node execution failure (invalid exit code from node)."

Expected results:
it should return rockmongo has stopped or others info, such as: result success

Additional info:
# rhc-ctl-app -a wsgitest -predhat -e stop-rockmongo-1.1 -d
Contacting https://ec2-107-21-79-175.compute-1.amazonaws.com
Problem reported from server. Response code was 500.

DEBUG:
Cartridge return code: 1

Exit Code: 1
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
api_c: placeholder
API version:    1.1.1
Broker version: 1.1.1

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

Comment 1 Rajat Chopra 2012-01-11 23:23:38 UTC
Fixed with checkin#bfa7de8..f224865. If you try to stop the cartridge twice, it just says success nevertheless.

Comment 2 bzhao 2012-01-12 10:04:23 UTC
Passed verification against rhc-broker-0.84.40-1.el6_2.noarch


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