Issue #18354 has been updated by Josh Cooper.

Adam, try `profile=true` instead. It looks like your logstash report processor 
is expecting query parameters of the form `key=value` (which is a reasonable 
thing to expect) and failing. I'm not sure why the same thing doesn't occur 
with webrick, as it also decodes HTTP query parameters, but perhaps webrick 
silently adds an empty value?

----------------------------------------
Bug #18354: "undefined method `tr' for nil:NilClass"
https://projects.puppetlabs.com/issues/18354#change-92701

* 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.


Reply via email to