Andrew Bogott has uploaded a new change for review. https://gerrit.wikimedia.org/r/115614
Change subject: Add a line specifying the nova api rate limits. ...................................................................... Add a line specifying the nova api rate limits. This line doesn't change any of the defaults. I'm commiting this to establish a baseline... the next patch will actually change these limits, temporarily. Change-Id: Ie79b3c6f262ffb18d6db362a11f4182083fd2c78 --- M templates/openstack/folsom/nova/api-paste.ini.erb M templates/openstack/havana/nova/api-paste.ini.erb 2 files changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/14/115614/1 diff --git a/templates/openstack/folsom/nova/api-paste.ini.erb b/templates/openstack/folsom/nova/api-paste.ini.erb index 269d956..5423e72 100644 --- a/templates/openstack/folsom/nova/api-paste.ini.erb +++ b/templates/openstack/folsom/nova/api-paste.ini.erb @@ -87,6 +87,7 @@ [filter:ratelimit] paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory +limits =(POST, "*", .*, 10, MINUTE);(POST, "*/servers", ^/servers, 50, DAY);(PUT, "*", .*, 10, MINUTE);(GET, "*changes-since*", .*changes-since.*, 3, MINUTE);(DELETE, "*", .*, 100, MINUTE) [filter:sizelimit] paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory diff --git a/templates/openstack/havana/nova/api-paste.ini.erb b/templates/openstack/havana/nova/api-paste.ini.erb index 6a03bb3..2b36b0f 100644 --- a/templates/openstack/havana/nova/api-paste.ini.erb +++ b/templates/openstack/havana/nova/api-paste.ini.erb @@ -87,6 +87,7 @@ [filter:ratelimit] paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory +limits =(POST, "*", .*, 10, MINUTE);(POST, "*/servers", ^/servers, 50, DAY);(PUT, "*", .*, 10, MINUTE);(GET, "*changes-since*", .*changes-since.*, 3, MINUTE);(DELETE, "*", .*, 100, MINUTE) [filter:sizelimit] paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory -- To view, visit https://gerrit.wikimedia.org/r/115614 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie79b3c6f262ffb18d6db362a11f4182083fd2c78 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
