Issue #18354 has been updated by Josh Cooper.

Status changed from Unreviewed to Needs More Information
Assignee set to Paul Lathrop

Hi Paul, could you modify puppet's config.ru as follows, restart passenger, and 
post the stacktrace to this ticket?

<pre>
ARGV << "--debug" << "--trace"
</pre>
----------------------------------------
Bug #18354: "undefined method `tr' for nil:NilClass"
https://projects.puppetlabs.com/issues/18354#change-81544

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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to