Rate limit settings not documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Wishlist
|
Stephen Finucane |
Bug Description
This is either not working or just badly in need of documentation.
Trying to test our API rate limiting functionality exposed by "cinder rate-limits" and "cinder absolute-limits". I can't figure out how to get API rate limits set to show up with these.
There are some older Nova documents showing how it was configured there [1]. It doesn't look like we've done much with rate limits since the split from nova. The only RateLimitingMid
I've attempted to update api-paste.ini with this to set a value for POSTs with the following entry:
paste.filter_
limits =(POST, "*", .*, 120, MINUTE)
After restarting the service I still get the same (lack of) output from the CLI commands and it doesn't appear to affect the service settings.
It's quite possible my api-paste configuration is not correct, but I have not been able to find any cinder documentation stating how this is supposed to be configured. So we either need to fix the code to use this, and/or add some documentation so users can get this set up correctly.
[1] http://
[2] https:/
Changed in cinder: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
status: | New → Confirmed |
summary: |
- Rate limit settings not enforced + Rate limit settings not documented |
tags: | added: documentation |
Changed in cinder: | |
status: | Confirmed → In Progress |
Could we simply get rid of it as Nova already did? API rate limiting seems like something that should be done outside of OpenStack APIs. If I recall correctly, Rackspace had implemented external rate limiting in their cloud.