| Summary: | Newlines are stripped in error messages returned by cartridge control script | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Clayton Coleman <ccoleman> |
| Component: | Image | Assignee: | Dan McPherson <dmcphers> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | bmeng, dmcphers, 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: | 2014-01-30 00:53:39 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: | |
|
Description
Clayton Coleman
2013-12-17 22:58:42 UTC
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. |