hello devs. I'm trying to install a logstash 5.0.1 plugin but it fails with: dev logstash # bin/logstash-plugin install logstash-codec-multiline Validating logstash-codec-multiline Installing logstash-codec-multiline Error Bundler::InstallError, retrying 1/10 An error occurred while installing logstash-core-event-java (5.0.1), and Bundler cannot continue. Make sure that `gem install logstash-core-event-java -v '5.0.1'` succeeds before bundling. Error Bundler::InstallError, retrying 2/10 An error occurred while installing logstash-core-event-java (5.0.1), and Bundler cannot continue. Make sure that `gem install logstash-core-event-java -v '5.0.1'` succeeds before bundling. Error Bundler::InstallError, retrying 3/10 An error occurred while installing logstash-core-event-java (5.0.1), and Bundler cannot continue. Make sure that `gem install logstash-core-event-java -v '5.0.1'` succeeds before bundling. ^Cdev logstash # Don't know where to go from here. Actually logstash bin does not even have a ruby dependency. Installing ruby also does not fix the problem. Any Hints? thanks and cheers t. Reproducible: Always
logstash is written in JRuby. System ruby has nothing to do with it. I'll try to reproduce, it might just be another upstream packaging problem (2.x had lots of issues with that :) )
I can reproduce it, but logstash-core-event-java looks like the expected version. Sadness.
Well, good to know nothing is wrong at my side. Thanks.
Hola. The same happens with logstash-bin-5.1.1. I'm not able to install any plugin. Validating logstash-codec-multiline Installing logstash-codec-multiline Error Bundler::InstallError, retrying 1/10 An error occurred while installing logstash-core-event-java (5.1.1), and Bundler cannot continue. Make sure that `gem install logstash-core-event-java -v '5.1.1'` succeeds before bundling. WARNING: SSLSocket#session= is not supported Is this working for someone? thanks and cheers
Just were able to install the plugin in a *clean* install. logstash # DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install logstash-codec-multiline DEBUG: exec /opt/logstash/vendor/jruby/bin/jruby --1.9 /opt/logstash/lib/pluginmanager/main.rb install logstash-codec-multiline Looking if package named: logstash-codec-multiline exists at https://artifacts.elastic.co/downloads/logstash-plugins/logstash-codec-multiline/logstash-codec-multiline-5.1.1.zip Package not found at: https://artifacts.elastic.co/downloads/logstash-plugins/logstash-codec-multiline/logstash-codec-multiline-5.1.1.zip Validating logstash-codec-multiline Installing logstash-codec-multiline Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. HTTP GET https://bundler.rubygems.org/api/v1/dependencies HTTP 200 OK Fetching gem metadata from https://rubygems.org/ ... ... Bundle complete! 114 Gemfile dependencies, 203 gems now installed. Gems in the group development were not installed. Bundled gems are installed into ./vendor/bundle. Installation successful
(In reply to Thomas Stein from comment #5) [...] > logstash # DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install [...] Thanks, the "JARS_SKIP='true'" is the solution for logstash-filter-translate also: logstash # DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install logstash-filter-translate ... Bundle complete! 115 Gemfile dependencies, 204 gems now installed. Gems in the group development were not installed. Bundled gems are installed into ./vendor/bundle. Installation successful
Yes, it happens with 5.2.1 also. When you unpack logstash somewhere and run the plugin install, it works, but running from portage installed logstash failed. I've at least added a note to the 5.2.2 bump: https://github.com/gentoo/gentoo/pull/4251
Please try https://github.com/gentoo/gentoo/commit/15b28a3312f35244dbe093946f127d046555f42a You can now install plugins via eselect.