Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Conversation

madhurranjan
Copy link

We are using Vagrant-aws to create anywhere between 8-60 machines in parallel. A large number of instances begin to fail when there are more than 10-11 simultaneous calls. In order to allow this to happen, introduced class variable that keeps track of instances and allow only 10 creations at a time. We also saw instance timeout failures so increased the wait_for timeout. This setup is currently working for upto 60 parallel VMs. Let me know your thoughts.

@laurencer
Copy link
Contributor

I'm having the same issue - I'm testing madjurranjan's fix and I'll report back on how it performs. We're currently trying to spin up between 10 and 80 nodes on AWS using vagrant and currently have to do it serially which is very painful.

@rtyler
Copy link
Collaborator

rtyler commented Mar 27, 2014

I understand why you want this change in but I'm not sure if this is the right way to accomplish it. I am not sure but I believe the fog API will give some error status that we could perform an exponential backoff on instance creation up to some timeout.

@madhurranjan
Copy link
Author

Didn't quite find any options hence went with this option . Tried looking at it again but didn't find.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants