Description of problem: The rhc tool does not always display error messages from the node coming back in the API payload via the broker Version-Release number of selected component (if applicable): How reproducible: Using 'rhc app restart app001', if the cartridge issues a CLIENT_MESSAGE it will not be displayed Steps to Reproduce: 1. 2. 3. Actual results: CLIENT_MESSAGE ignored in some cases Expected results: CLIENT_MESSAGE should always be displayed if text included in API payload Additional info:
CLIENT_ERROR is also not reported as expected.
*** Bug 995809 has been marked as a duplicate of this bug. ***
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/28541a07d1858eac7ba425b79b9306843c12e0f8 Bug 994174 - rhc not displaying CLIENT_MESSAGE returned by broker
Fixed in https://github.com/openshift/rhc/pull/442 All CLIENT_MESSAGEs will be displayed in the warning yellow. No change was made for CLIENT_ERRORs. If a CLIENT_ERROR exists the broker should not be returning a success status code. If an error status code is returned rhc displays the CLIENT_ERRORs.
Verified on devenv-stage_448, rhc is 1.13.5 Step: 1.Create an app 2.Generate a large file in data dir 3.Show app gears info via CLI Result: [wsun@dhcp-8-229 dev]$ rhc app-show phpt --gears ID State Cartridges Size SSH URL ------------------------ ---------------------------------- ---------- ----- ----------------------------------------------------------- 5215989a427bc9072800000c started php-5.3 small 5215989a427bc9072800000c.rhcloud.com CLIENT_MESSAGE: Warning gear 5215989a427bc9072800000c is using 92.84477233886719 of disk quota