-
-
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
Elasticsearch service restart at each chef run #104
Comments
Cool. Also please see: #98 (comment) |
yes indeed, if you don't use ark it will fix the issue |
"MR with rpm support"? |
merge request adding a way to download and install a rpm package for rhel family :) |
There is some rudimentary support in https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/recipes/rpm.rb to kick the tires and try it out. As said in other issues, I'd like to move to a more fine grained layout, which would allow to install either from tar.gr, or .deb, or .rpm -- but we need to figure out how to properly set up configs, etc etc, and test the whole refactoring. |
it seems the cookbook (with elasticsearch::default recipe) will remove /usr/local/elasticsearch due to resource
|
This issue also goes away if you drop back to ark 0.1.0. Ark 0.3.0 seems to trigger the restart where the older version does not. |
http://tickets.opscode.com/browse/COOK-2444 - may be this helps somebody... |
I have updated ES cookbook today and I have the same problem, but downgrade ark to 0.1.0 helps and it's the simplest way for now, as recommends @Pneumatus |
@avishai-ish-shalom Thanks for identifying the culprit for removing the |
…mlink. This means it was created by Ark, not by Chef when creating the user. h/t: @avishai-ish-shalom Related: #104
Everybody, this issue should now be solved -- no re-downloads or service restarts on each Chef run. Verified in Vagrant and EC2 (both Chef-Solo only). |
Elasticsearch restart at each run due to ark provider which create a symlink and execute a ruby_blockat each run. I'll open a ticket in ark cookbook too.
The text was updated successfully, but these errors were encountered: