Andrew Bogott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/115615

Change subject: Turn rate limits WAY up for nova api.
......................................................................

Turn rate limits WAY up for nova api.

This is a temporary change to allow for automated instance migration.
This patch should be reverted after the migration is complete.

Change-Id: Ie4967598f95b0258a1835a7c6376ab1e99f118cc
---
M templates/openstack/folsom/nova/api-paste.ini.erb
M templates/openstack/havana/nova/api-paste.ini.erb
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/15/115615/1

diff --git a/templates/openstack/folsom/nova/api-paste.ini.erb 
b/templates/openstack/folsom/nova/api-paste.ini.erb
index 5423e72..4ec0769 100644
--- a/templates/openstack/folsom/nova/api-paste.ini.erb
+++ b/templates/openstack/folsom/nova/api-paste.ini.erb
@@ -87,7 +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)
+limits =(POST, "*", .*, 30, MINUTE);(POST, "*/servers", ^/servers, 1, 
MINUTE);(PUT, "*", .*, 30, MINUTE);(GET, "*changes-since*", .*changes-since.*, 
30, 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 2b36b0f..da9ffd2 100644
--- a/templates/openstack/havana/nova/api-paste.ini.erb
+++ b/templates/openstack/havana/nova/api-paste.ini.erb
@@ -87,7 +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)
+limits =(POST, "*", .*, 30, MINUTE);(POST, "*/servers", ^/servers, 1, 
MINUTE);(PUT, "*", .*, 30, MINUTE);(GET, "*changes-since*", .*changes-since.*, 
30, MINUTE);(DELETE, "*", .*, 100, MINUTE)
 
 [filter:sizelimit]
 paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory

-- 
To view, visit https://gerrit.wikimedia.org/r/115615
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4967598f95b0258a1835a7c6376ab1e99f118cc
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

Reply via email to