On Fri, Aug 20, 2010 at 4:09 PM, Christopher Johnston
<chjoh...@gmail.com> wrote:
> Do you have a defaut node in nodes.pp?
>
> Sent from my iPhone
>
> On Aug 20, 2010, at 5:18 PM, Douglas Garstang <doug.garst...@gmail.com> wrote:
>
>> How do I debug errors with external nodes? When my client connects,
>> the following appears on the puppetmaster when running in debug mode.
>> It's not feasible to always be running the pupeptmaster in debug mode.
>>
>> debug: importing '/etc/puppet/modules/yum/manifests/client.pp' in
>> environment production
>> info: Automatically imported yum::client from yum/client into production
>> /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:217:in 
>> `evaluate_ast_node'
>> /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:102:in `compile'
>> /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:18:in `compile'
>> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:77:in
>> `compile'
>> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:175:in `benchmark'
>> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>> /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
>> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:174:in `benchmark'
>> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:75:in
>> `compile'
>> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:34:in 
>> `find'
>> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find'
>> /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in `do_find'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in 
>> `service'
>> /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
>> /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen'
>> /usr/lib/ruby/1.8/webrick/server.rb:173:in `call'
>> /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
>> /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
>> /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
>> /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
>> /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `listen'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `listen'
>> /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `listen'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen'
>> /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start'
>> /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:125:in `start'
>> /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main'
>> /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command'
>> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run'
>> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:398:in `exit_on_fail'
>> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run'
>> /usr/sbin/puppetmasterd:4
>> err: Could not find default node or by name with
>> 'app01.pax.livegamer.com, app01.pax.livegamer, app01.pax, app01' on
>> node app01.pax.livegamer.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To post to this group, send email to puppet-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> puppet-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

When I create a default node, the client logs:

Aug 21 00:04:09 app01 puppet-agent[5975]: Starting Puppet client version 2.6.0
Aug 21 00:04:10 app01 puppet-agent[5975]: Finished catalog run in 0.01 seconds

.... which doesn't really help.

Doug.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to