Issue #18354 has been updated by Adam Gibbins.
I'm running 3.2.1, trying to test the new profiling feature and get this same error when I try to pass the ?profile param (via a curl request to puppet): Thu Jun 06 19:05:49 +0100 2013 Puppet (debug): Handling request: GET /production/catalog/dev-puppetmaster-001.mgmt.dev.net.local?profile Thu Jun 06 19:05:49 +0100 2013 Puppet (err): undefined method `tr' for nil:NilClass /usr/lib/ruby/1.8/cgi.rb:352:in `unescape' /usr/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:266:in `decode_params' /etc/puppet/modules/puppetmaster/lib/puppet/reports/logstash.rb:68:in `inject' /usr/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:256:in `each' /usr/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:256:in `inject' /usr/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:256:in `decode_params' /usr/lib/ruby/vendor_ruby/puppet/network/http/rack/rest.rb:76:in `params' /usr/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:76:in `process' /usr/lib/ruby/vendor_ruby/puppet/network/http/rack.rb:21:in `call' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:118:in `run' /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:65:in `spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork' /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:58:in `spawn_application' /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:41:in `spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:159:in `spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61 ---------------------------------------- Bug #18354: "undefined method `tr' for nil:NilClass" https://projects.puppetlabs.com/issues/18354#change-92555 * Author: Paul Lathrop * Status: Needs More Information * Priority: Low * Assignee: Paul Lathrop * Category: * Target version: * Affected Puppet version: 2.7.20 * Keywords: * Branch: ---------------------------------------- In our puppet master logs we see frequent messages like this: Jan 4 00:17:30 REDACTED puppet-master[13232]: undefined method `tr' for nil:NilClass I have checked our manifests, templates, and ruby plugins and we do not call the 'tr' method anywhere. However, I have located two places where the puppet code calls 'tr', both in lib/puppet/interface/option.rb - lines 62 and 69. Both appear to be dealing with command-line option handling. I don't have the time to dig a lot deeper, but my off-the-cuff theory is that since we are running the puppet master process under passenger, this code is not receiving command-line options where it expects them. It would be good to see a resolution of this error message so we have clean logs. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
