Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/275791
Change subject: nodepool: lower task ratelimiting from 10 to 1 sec
......................................................................
nodepool: lower task ratelimiting from 10 to 1 sec
Whenever Nodepool as to interact with the OpenStack API, it creates a
task that is inserted in a queue. The task manager process one at a time
and has a built in rate limiting to avoid overflowing the OpenStack API.
I originally had set the limiter to 10 seconds since I had little
understanding of its effect. Since instances deletions are a task,
Nodepool can delete at most an instance every 10 seconds or 6 per
minutes.
Nodes creations are not affected and are not rate limited.
Set rate throttler from 10 seconds down to 1 second.
Bug: T113359
Change-Id: I0ab0042ed489e67b32fc362840c3eb34d64bf309
---
M modules/nodepool/templates/nodepool.yaml.erb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/91/275791/1
diff --git a/modules/nodepool/templates/nodepool.yaml.erb
b/modules/nodepool/templates/nodepool.yaml.erb
index eebdb7f..90c5ae9 100644
--- a/modules/nodepool/templates/nodepool.yaml.erb
+++ b/modules/nodepool/templates/nodepool.yaml.erb
@@ -72,7 +72,7 @@
api-timeout: 60 # seconds
boot-timeout: 300 # seconds
max-servers: 20
- rate: 10.0 # seconds
+ rate: 1 # seconds
# 'eqiad.wmflabs' is magically added by wmflabs
template-hostname: '{image.name}-{timestamp}'
images:
--
To view, visit https://gerrit.wikimedia.org/r/275791
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ab0042ed489e67b32fc362840c3eb34d64bf309
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits