Andrew Bogott has submitted this change and it was merged.

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(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ie4967598f95b0258a1835a7c6376ab1e99f118cc
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to