logstash silently fails on ppc64le architecture

Bug #1358471 reported by Matt Bruzek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logstash-indexer (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

I am testing the logstash-indexer charm on Power hardware, and when I deploy cs:precise/logstash-indexer everything looks green on Juju.

When I ssh over to the logstash-indexer node, I see the /var/log/upstart/logstash-indexer.log file is filling up with errors:

Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LoadError) Unsupported platform: unknown-linux
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1054)
        at RUBY.require(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
        at RUBY.require(file:/opt/logstash/bin/logstash.jar!/logstash/JRUBY-6970.rb:22)
        at RUBY.(root)(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/ffi/ffi.rb:69)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1054)
        at RUBY.(root)(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
        at RUBY.require(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
        at RUBY.require(file:/opt/logstash/bin/logstash.jar!/logstash/JRUBY-6970.rb:22)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1054)
        at RUBY.(root)(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/ffi.rb:1)
        at RUBY.(root)(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
        at RUBY.require(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
        at RUBY.require(file:/opt/logstash/bin/logstash.jar!/logstash/JRUBY-6970.rb:22)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1054)
        at RUBY.LibC(file:/opt/logstash/bin/logstash.jar!/logstash/util/prctl.rb:3)
        at RUBY.(root)(file:/opt/logstash/bin/logstash.jar!/logstash/util/prctl.rb:2)
        at RUBY.(root)(jar:file:/opt/logstash/bin/logstash.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
        at logstash.runner.main(logstash/runner.rb:60)
        at logstash.runner.(root)(logstash/runner.rb:230)

We should be able to detect this failure in the install, or start hook and report an error. Otherwise the Juju user would not know that something failed and we are not running logstash.

juju status:
...
    units:
      logstash-indexer/0:
        agent-state: started
        agent-version: 1.20.1.1
        machine: "2"
        public-address: 10.0.3.182

We should try to detect this failure and recover, or fail in Juju so the status can be known.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.