Hide Forgot
When running: rhc create-app cdk https://cdk-claytondev.rhcloud.com/manifest/failure_output the broker returns: {"api_version":1.5,"data":null,"messages":[{"exit_code":157,"field":null,"index":null,"severity":"error","text":"Stderr outputDeliberate failureCLIENT_ERROR: Stderr output"}],"status":"unprocessable_entity","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6],"type":null,"version":"1.5"} The actual output in the cart control script is: echo "Deliberate failure" echo "Stderr output" 2>&1 There should be newlines between each failure - and CLIENT_ERROR shouldn't even be in the message (it should have been separated out or not duplicated).
A line break is required at the end of each error message in order to be parsed correctly by broker. I recommend a re-factoring of the node to broker messaging and error handling. Please see https://trello.com/c/VCHIrBlh
https://github.com/openshift/origin-server/pull/4497 It now outputs: Creating application 'cdk' ... Stderr output Deliberate failure Stderr output The duplicate message is because it fails for both post-configure and deconfigure.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/722a7f0a289234f98c0a2e5820c5af30f9a20720 Bug 1044225
# rhc create-app cdk1 https://cdk-claytondev.rhcloud.com/manifest/failure_output The cartridge 'https://cdk-claytondev.rhcloud.com/manifest/failure_output' will be downloaded and installed Application Options ------------------- Domain: bmengdev Cartridges: https://cdk-claytondev.rhcloud.com/manifest/failure_output Gear Size: default Scaling: no Creating application 'cdk1' ... Stderr output Deliberate failure Stderr output Issue has been fixed on devenv_4236.