Bug 1024284 - Cannot throttle gear bandwidth via oo-admin-ctl-tc
Summary: Cannot throttle gear bandwidth via oo-admin-ctl-tc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-29 10:22 UTC by Yan Du
Modified: 2015-05-14 23:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:27:21 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.