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

Add expiration to spot requests #285

Merged
merged 2 commits into from
Feb 7, 2017
Merged

Add expiration to spot requests #285

merged 2 commits into from
Feb 7, 2017

Conversation

alanbrent
Copy link
Contributor

Currently, if a kitchen converge times out then the spot request does not get cleaned up. This means an operator has to manually remove the spot requests, leaving an opening for extra costs that are unnecessary and difficult to track down.

It seems to me that we'd want the spot request to expire if it hasn't been fulfilled within the timeframe of config[:retryable_tries] * config[:retryable_sleep] seconds, so it would make sense to set an expiry on the request as such.

@alanbrent
Copy link
Contributor Author

Just wondering what needs to happen on my end to get some discussion on this PR?

@cheeseplus
Copy link
Contributor

We're actually trying to get a release of kitchen-ec2 out so it was just a matter of running down what we can include. This LGTM and if we can get another reviewer this should be good to go.

@cheeseplus cheeseplus added this to the 1.2.1 milestone Nov 15, 2016
@thommay
Copy link

thommay commented Nov 15, 2016

👍

@alanbrent
Copy link
Contributor Author

Awesome. Just let me know if anything is needed from me on this, otherwise I'll leave you alone :D

@cheeseplus cheeseplus merged commit ca10954 into test-kitchen:master Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants