-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
Fog doesn't respect "delete_on_termination" option in elasticsearch::ebs #146
Comments
Hi, thanks, I think all of us just ignored that and I agree it's painful especially when you fire up nodes for testing etc. I'll have a look how we can fix this directly in the Fog gem -- thanks for the issue link! |
Just ran into this myself. Any updates? Thanks! |
@dmorrison No, sorry, started looking into it at that time, and it was much more complicated then I originally thought... |
Hello! We've re-written the cookbook using libraries that expose resources and providers, and we've removed support for the EBS recipe. I would recommend using the AWS chef cookbook for this use case now. We figured it would be better to focus on making Elasticsearch's chef experience best, and leave EBS functionality to the folks who know that the best. Hope this helps! |
When using the elasticsearch::ebs recipe, you can specify options to configure the EBS Volume that will be created and attached to your instance:
These options are largely passed through to the Fog gem, which initializes and saves a new Volume object with those parameters. However, as has been documented in the Fog gem, the
delete_on_termination
option is ignored when initializing a new EBS Volume: fog/fog#1737Until there is a fix on the gem side, it looks like the
delete_on_termination
flag may need to be set in the recipe by modifying the appropriate AWS instance attribute.The text was updated successfully, but these errors were encountered: