Merge pull request #926 from h3biomed/eni_creation_hang_fix

Fix hang at creation of detached ENIs
reviewable/pr18780/r1
Brian Coca 9 years ago
commit ba64e812b1

@ -213,9 +213,9 @@ def create_eni(connection, module):
except BotoServerError as ex: except BotoServerError as ex:
eni.delete() eni.delete()
raise raise
# Wait to allow creation / attachment to finish
wait_for_eni(eni, "attached")
changed = True changed = True
# Wait to allow creation / attachment to finish
wait_for_eni(eni, "attached")
eni.update() eni.update()
except BotoServerError as e: except BotoServerError as e:

Loading…
Cancel
Save