Description of problem: The message returned messes up if gear space is used more than 90% Version-Release number of selected component (if applicable): devenv_3622 rhc-1.13.0 built from devenv_3622 How reproducible: always Steps to Reproduce: 1. Create an app 2. SSH into the app. Add a file which takes more than 90% of gear's total space. e.g for an app without additional storage, dd if=/dev/zero of=testfile bs=1M count=950 3. rhc app show $appname --gears Actual results: 520206208fd4a70cac000001 startedCLIENT_MESSAGE: Warning gear 520206208fd4a70cac000001 is using 92.84400939941406 of disk quota php-5.3 small 520206208fd4a70cac000001.rhcloud.com Expected results: The "CLIENT_MESSAGE" should be shown after/before the gear info in a new line Additional info:
On the broker side, we need to make sure that any messages included in the mcollective response are not mixed with the "state" of the gear in the REST response from the broker.
https://github.com/openshift/origin-server/pull/3418
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/18f633dc0756251174fa95895907fd27bc3f14bf Bug 994419
Created attachment 788691 [details] output when the command window is max size
Created attachment 788692 [details] output when the command window is not in max size Checked on devenv_3680. I got the output like the attached screenshot. I have two concerns about the output: 1. The content "php-5.3 small e3ee8cac0a0511e3af8912313b0a852c.rhcloud.com" should not be in yellow color, since it is not part of the warning message. They are only normal message about "Cartridges, Size and SSH URL" 2. The output format (when the window is not large enough) is not looking so good.
https://github.com/openshift/origin-server/pull/3886
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/67d4311690543a69db907e17b4f1d06185e0ba53 Bug 994419
Tested on devenv_3932. The client message is printed in a separate line. Looks much better than before. openshift@openshift-ubuntu:~$ rhc app show rb --gears Warning gear 52673db26d6c465ab4000007 is using 92.9% of disk quota ID State Cartridges Size SSH URL ------------------------ ------- ---------- ----- ---------------------------------------------------- 52673db26d6c465ab4000007 started ruby-1.9 small 52673db26d6c465ab4000007.rhcloud.com Mark the bug as verified.
*** Bug 1020076 has been marked as a duplicate of this bug. ***