Bug 802212 - Failed to create scalable app via REST API or CLI
Summary: Failed to create scalable app via REST API or CLI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-12 06:00 UTC by jizhao
Modified: 2015-05-14 22:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-12 08:53:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Output log (1.64 KB, text/plain)
2012-03-12 06:07 UTC, jizhao
no flags Details

Description jizhao 2012-03-12 06:00:48 UTC
Description of problem:
Meet StickShift::NodeException: Node execution failure (invalid exit code from node) while creating a scalable app using REST API or rhc client,
Error log in development.log:
DEBUG: server results: Failed to start /var/lib/stickshift/adf4836ae23c4cb7a6779118fafb30fe/phpscale2/phpscale2_ctl.sh
Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.
#<StickShift::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):
rhc-cartridge-haproxy-1.4-0.6.4-1.el6_2.noarch
rhc-broker-0.88.3-1.el6_2.noarch
rhc-node-0.88.4-1.el6_2.x86_64
stickshift-abstract-0.6.5-1.el6_2.noarch
rubygem-stickshift-node-0.6.6-1.el6_2.noarch
rubygem-stickshift-common-0.6.4-1.el6_2.noarch
rubygem-stickshift-controller-0.6.5-1.el6_2.noarch
 
 
 
How reproducible:
Always
 
Steps to Reproduce:
1.Create an scalable app using REST API
$ curl -k -H "Accept: application/xml" --user "jizhao+3:redhat"  https://ec2-107-22-54-22.compute-1.amazonaws.com/broker/rest/domains/jizhaotest/applications -X POST -d name=app3 -d cartridge=php-5.3 -d scale=true
 
 
Actual results:
 
The app is created, but not available.
<------------console output-------------->
  <title>Action Controller: Exception caught</title>
 
<h1>
  StickShift::NodeException
    in ApplicationsController#create
</h1>
<pre>Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.</pre>
<--------------------------------------->
 
Expected results:
The app should be created successfully.
 
Additional info:

Comment 1 jizhao 2012-03-12 06:07:47 UTC
Created attachment 569279 [details]
Output log

Comment 2 jizhao 2012-03-12 08:48:23 UTC
This bug is probably caused by Bug 802258:
https://bugzilla.redhat.com/show_bug.cgi?id=802258

Comment 3 jizhao 2012-03-12 08:53:04 UTC
This bug is fixed after the workaround steps of Bug 802258.


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