Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-538

Report Processo(specifically hipchat)/gem loading issue

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: SERVER 1.0.8
    • Fix Version/s: SERVER 1.1.1
    • Component/s: Puppet Server
    • Labels:
      None
    • Environment:

      RHEL6.6, puppetserver-1.0.8-1.el6.noarch

    • Template:

      Description

      PuppetServer is failing, it seems to load the 'hipchat' gem required for the Hipchat report processor.

      The gem is present:

      [root@puppetmaster03 ~]# puppetserver gem list

          • LOCAL GEMS ***

      ffi (1.9.3 java)
      hiera-eyaml (2.0.7)
      hiera-regex (0.3.0)
      highline (1.6.21)
      hipchat (1.5.0)
      httparty (0.13.3)
      jar-dependencies (0.1.2)
      jruby-openssl (0.9.5 java)
      json (1.8.0 java)
      krypt (0.0.2)
      krypt-core (0.0.2 universal-java)
      krypt-provider-jdk (0.0.2)
      mimemagic (0.3.0)
      multi_xml (0.5.5)
      rake (10.1.0)
      rdoc (4.1.2)
      trollop (2.1.2)

      And can be loaded:

      [root@puppetmaster03 ~]# puppetserver irb
      irb(main):001:0> require 'hipchat'
      => true
      irb(main):002:0>

      However logs show:

      [root@puppetmaster03 ~]# tail -f /var/log/puppetserver/*|grep -i hipchat
      2015-04-03 13:19:43,367 INFO [puppet-server] Puppet You need the `hipchat` gem to use the Hipchat report
      2015-04-03 13:19:43,407 ERROR [puppet-server] Puppet Report processor failed: uninitialized constant HipChat
      /etc/puppet/environments/production/modules/hipchat/lib/puppet/reports/hipchat.rb:78:in `process'

      2015-04-03 13:24:09,479 ERROR [puppet-server] Puppet Report processor failed: uninitialized constant HipChat
      org/jruby/RubyModule.java:2726:in `const_missing'
      /etc/puppet/environments/production/modules/hipchat/lib/puppet/reports/hipchat.rb:78:in `process'
      /usr/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:37:in `process'
      /usr/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:53:in `processors'
      org/jruby/RubyArray.java:1613:in `each'
      /usr/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:51:in `processors'
      /usr/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:30:in `process'
      /usr/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:14:in `save'
      /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:283:in `save'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/api/v1.rb:160:in `do_save'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/api/v1.rb:50:in `call'
      /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in `override'
      /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in `override'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/api/v1.rb:49:in `call'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/route.rb:82:in `process'
      org/jruby/RubyArray.java:1613:in `each'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/route.rb:81:in `process'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:63:in `process'
      /usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/around_profiler.rb:58:in `profile'
      /usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:51:in `profile'
      /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:61:in `process'
      file:/usr/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server/master.rb:38:in `handleRequest'
      Puppet$$Server$$Master_1481120990.gen:13:in `handleRequest'
      request_handler_core.clj:270:in `invoke'
      request_handler_service.clj:11:in `invoke'
      request_handler_service.clj:20:in `handle_request'
      request_handler.clj:3:in `invoke'
      request_handler.clj:3:in `invoke'
      core.clj:626:in `invoke'
      core.clj:2468:in `doInvoke'
      master_core.clj:59:in `invoke'
      core.clj:99:in `invoke'
      core.clj:45:in `invoke'
      core.clj:30:in `invoke'
      core.clj:112:in `invoke'
      core.clj:2515:in `invoke'
      core.clj:112:in `doInvoke'
      core.clj:626:in `invoke'
      core.clj:117:in `invoke'
      core.clj:112:in `invoke'
      core.clj:2515:in `invoke'
      core.clj:112:in `doInvoke'
      master_core.clj:78:in `invoke'
      core.clj:176:in `invoke'
      core.clj:45:in `invoke'
      core.clj:112:in `invoke'
      core.clj:2515:in `invoke'
      core.clj:112:in `doInvoke'
      core.clj:626:in `invoke'
      core.clj:117:in `invoke'
      ringutils.clj:75:in `invoke'
      ringutils.clj:81:in `invoke'
      core.clj:112:in `invoke'
      core.clj:2515:in `invoke'
      core.clj:112:in `doInvoke'
      master_service.clj:28:in `invoke'
      core.clj:176:in `invoke'
      core.clj:45:in `invoke'
      jetty9_core.clj:408:in `invoke'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sjoeboo Matthew Nicholson
                QA Contact:
                Erik Dasher
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support