Patience added when creating placement groups #161

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

@FinchPowers
Contributor

This fix prevents the "Placement doesn't exist" error.

@jtriley jtriley added a commit that closed this pull request Dec 29, 2012
@jtriley awsutils: fix 'placement group DNE' errors
In some cases fetching the placement group object immediately after
it's been created returns a DNE error due to a race condition in the EC2
API back-end. Updated EasyEC2.create_placement_group to avoid this issue
by waiting until the new placement group can successfully be refetched
via EasyEC2.get_placement_group_or_none before returning the new
placement group to the caller.

closes gh-161
7919a85
@jtriley jtriley closed this in 7919a85 Dec 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment