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

spotInstancePrice not being updated #897

Closed
HMazen opened this issue Mar 6, 2018 · 0 comments
Closed

spotInstancePrice not being updated #897

HMazen opened this issue Mar 6, 2018 · 0 comments

Comments

@HMazen
Copy link

HMazen commented Mar 6, 2018

We had a deployment running EC2 Spot instance that some of them were destroyed because of lack of capacity on the AWS side. We then re-deployed using on-demand instances by setting ec2.spotInstancePrice to zero.

This worked as expected by bringing up the lost instance on-demand (verified using the AWS console), but our in-house deployment tool (based on NixOps) was still reporting them as Spot instances.

After manually investigating the NixOps state file, we found that the nix arguments were updated (set to 0 in the DeploymentAttrs table) whereas the actual spot price wasn't (spotInstancePrice field in the ResourceAttrs table).

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

No branches or pull requests

2 participants