Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

credential_fetcher: Mark AWS metadata calls as idempotent #329

Merged
merged 1 commit into from
Dec 12, 2016

Conversation

mtekel
Copy link
Contributor

@mtekel mtekel commented Dec 12, 2016

We would like to handle temporary issues with credential retrieval from AWS metadata server (usually running at 169.254.169.254) in a bit more resilient way. One possibility to achieve this is to mark the calls as idempotent, which means excon will retry them up to 3 times.

We are proposing the changes to the code in this PR. Please let us know if you have any comments or suggestions for improvement.

Mark calls to metadata services for AWS as idempotent. This means that excon
will retry request up to 3 times in case there is a (temporary) issue on the
metadata service.
@lanej
Copy link
Member

lanej commented Dec 12, 2016

Thanks @mtekel

@lanej lanej merged commit da88806 into fog:master Dec 12, 2016
@geemus
Copy link
Member

geemus commented Dec 13, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants