Red Hat Bugzilla – Bug 1026193
The command "rhc app show --gears /port-forword/tail $app "could NOT trigger client message about quota warning.
Last modified: 2015-06-11 17:42:22 EDT
Description of problem:
Add files to an application, so that more than 90% quota is used. Do "rhc app show $appname --gears". There is no quota warning message.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an application
rhc app create rb ruby-1.9
2. Create files to occupy the space. On the gear,
dd if=/dev/zero of=~/app-root/data/testfile bs=1M count=950
3. Do "rhc app show rb --gears"
No quota warning message is shown
There should be quota warning message like "Warning gear 52773c8e2587c8470500006c is using 93.0% of disk quota"
"rhc port-forward rb -g 52773c8e2587c8470500006c" will NOT trigger the warning message, too. Even no quota warning logs are added to "/var/log/ruby193-mcollective.log"
'rhc port-forward $app' and 'rhc tail $app' are also no quota warning message
This is related to commands that use ssh to perform.
Work in progress here: https://github.com/fabianofranz/rhc/tree/bugs/1026193
Requires a review of other commands too. There seems to be other commands that should warn about quota usage but are not. Tagging UpcomingRelease but will merge to stage if possible.
Commands that need to check quota (not doing it right now):
deployments | list-deployment