-
-
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
Plugins requiring extra java permissions fail to install properly #612
Comments
Oh I forgot how I got here in the first place. Elasticsearch refused to start and bombed out because of the following:
Because the discovery_ec2 plugin hadn't loaded in my case, it couldn't understand the cloud.aws.region key. Also impacts 5.6.0. |
Hi there -- I'll have to be sure that batch mode is supported in all of the versions we're testing against. In the mean time, you can specify |
Thanks Martin. Looking back, clearly had a very blind day yesterday - I even pasted the "options" option in my output above, which would happily fix this! That fixes my immediate problem without changes - whether -b should be a default therefore becomes less of an issue and not a blocker. Based on your response, that suggested fix may not need to be compulsory - depends if you guys think this should be just smoother, and if all the current supported versions support -b, as you said. Thanks again, much appreciated! |
bump any update on this issue? Would be great for it to work out of the box. |
Any update on the issue? |
Worked for me for ES6 - I strongly recommend adding that to the examples at the very least. |
@jensenbox 's suggestion worked for me, thanks! |
When using the plugin provider to install plugins, those requiring additional java permissions don't appear to install correctly.
If I run manually:
elasticsearch-plugin does have a flag for batch mode (-b), however this isn't used in the chef provider:
In function manage_plugin:
So that's running the plugin with install and the name/url but without batch mode.
The net result: a half install plugin that doesn't get the required permissions.
Suspected fix: add "-b" in the 'manage_plugin()' call within action_install.
Will dig further and try and pop up a PR later. The question will be is batch mode acceptable by default?
The text was updated successfully, but these errors were encountered: