Bug 1024284

Summary: Cannot throttle gear bandwidth via oo-admin-ctl-tc
Product: OpenShift Online Reporter: Yan Du <yadu>
Component: ContainersAssignee: Michal Fojtik <mfojtik>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfojtik
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-24 03:27:21 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 Yan Du 2013-10-29 10:22:02 UTC
Description of problem:
Create an app and make the user as throttled user, then ssh into app and download a big file to check the bandwitch. Found cannot throttle gear bandwidth via oo-admin-ctl-tc.



Version-Release number of selected component (if applicable):
devenv_3959



How reproducible:
Always



Steps to Reproduce:

1. Create app and get the gear uuid
2. Login to instance to make the user as throttled user
   #oo-admin-ctl-tc throttleuser <gear uuid>
3. ssh into app
   wget http://download.thinkbroadband.com/1GB.zip



Actual results:
Bandwidth is 18-19Mbits/s


Expected results:
Bandwidth should be limited to 0.2-0.5Mbits/s


Additional info:

Comment 1 Michal Fojtik 2013-10-29 14:22:58 UTC
The pull request is here:

https://github.com/openshift/origin-server/pull/4027

Comment 2 openshift-github-bot 2013-10-29 20:48:28 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/58d434b59d4028246e3bcd082c3d29d03c598cdb
Bug 1024284 - Do not check if tc rules exists directly in startuser_imp

Comment 3 Yan Du 2013-10-30 02:31:47 UTC
test on devenv_3966

Bandwidth is limited to 0.2-0.5Mbits/s.

move bug to verified