Jeremy Hansen
2009-Jun-03 22:54 UTC
[Puppet Users] Could not retrieve catalog: Could not find node
This one is driving me a little crazy. This is a Xen host. The first we''re trying to get into puppet. I continuously get: Could not retrieve catalog: Could not find node ''blah''; cannot compile I can''t figure out why this is happening. No problem with resolving. The puppetmaster is saying this: Could not call: Could not find node ''blah''; cannot compile Any clues on how to debug. Thanks -jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Hansen
2009-Jun-03 23:12 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
Actually, puppet seems to be doing this for any NEW host. What went wrong? -jeremy Jeremy Hansen wrote:> This one is driving me a little crazy. > > This is a Xen host. The first we''re trying to get into puppet. I > continuously get: > > Could not retrieve catalog: Could not find node ''blah''; cannot compile > > I can''t figure out why this is happening. > > No problem with resolving. The puppetmaster is saying this: > > Could not call: Could not find node ''blah''; cannot compile > > Any clues on how to debug. > > Thanks > -jeremy > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2009-Jun-03 23:12 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
Jeremy Hansen wrote:> This one is driving me a little crazy. > > This is a Xen host. The first we''re trying to get into puppet. I > continuously get: > > Could not retrieve catalog: Could not find node ''blah''; cannot compile > > I can''t figure out why this is happening. > > No problem with resolving. The puppetmaster is saying this: > > Could not call: Could not find node ''blah''; cannot compile > > Any clues on how to debug. >Version? Platform? More log data (--debug --trace --verbose)? Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux)
Jim Pirzyk
2009-Jun-03 23:14 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
Do you have a node default { ... } section in your site.pp or any included file? - JimP On Jun 3, 2009, at 7:12 PM, Jeremy Hansen wrote:> > > Actually, puppet seems to be doing this for any NEW host. What > went wrong? > > -jeremy > > Jeremy Hansen wrote: >> This one is driving me a little crazy. >> >> This is a Xen host. The first we''re trying to get into puppet. I >> continuously get: >> >> Could not retrieve catalog: Could not find node ''blah''; cannot >> compile >> >> I can''t figure out why this is happening. >> >> No problem with resolving. The puppetmaster is saying this: >> >> Could not call: Could not find node ''blah''; cannot compile >> >> Any clues on how to debug. >> >> Thanks >> -jeremy >> >>> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com > To unsubscribe from this group, send email to puppet-users > +unsubscribe@googlegroups.com > For more options, visit this group at http://groups.google.com/ > group/puppet-users?hl=en > -~----------~----~----~----~------~----~------~--~------ @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $ __o jim@pirzyk.org ------------------------------------------- _''\<,_ (*)/ (*) I''d rather be out biking.
Peter Meier
2009-Jun-03 23:21 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
Hi> Actually, puppet seems to be doing this for any NEW host. What went > wrong?do you have a node entry set for these hosts or any default node set? imho this error occures when puppet can''t find a node. cheers pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Hansen
2009-Jun-03 23:40 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
James Turnbull wrote:> Jeremy Hansen wrote: > >> This one is driving me a little crazy. >> >> This is a Xen host. The first we''re trying to get into puppet. I >> continuously get: >> >> Could not retrieve catalog: Could not find node ''blah''; cannot compile >> >> I can''t figure out why this is happening. >> >> No problem with resolving. The puppetmaster is saying this: >> >> Could not call: Could not find node ''blah''; cannot compile >> >> Any clues on how to debug. >> >> > > Version? Platform? More log data (--debug --trace --verbose)? > > Regards > > James Turnbull > >client: root@blah ~]# rpm -qa | grep puppet puppet-0.24.8-1.el5.1 puppetmaster: [root@master manifests]# rpm -qa | grep puppet puppet-server-0.24.8-1.el5.1 [root@blah ~]# puppetd --debug --trace --verbose debug: Creating default schedules debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/blah.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys/blah.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/csr_blah.pem]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys/blah.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: Finishing transaction 23605424609360 with 0 changes [root@master manifests]# puppetmasterd --no-daemonize --debug --verbose info: Starting server for Puppet version 0.24.8 debug: Creating default schedules debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Finishing transaction 23456249445240 with 0 changes debug: No modules mount given; autocreating with default permissions debug: No plugins mount given; autocreating with default permissions debug: Creating interpreter debug: Creating default schedules debug: /Settings[/etc/puppet/puppet.conf]/Settings[metrics]/File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[reporting]/File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet] debug: Finishing transaction 23456266181460 with 0 changes debug: Creating default schedules debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/private/ca.pass]: Autorequiring File[/var/lib/puppet/ssl/ca/private] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/inventory.txt]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/ca_key.pem]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/ca_crl.pem]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/ca_pub.pem]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/signed]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/ca_crt.pem]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/private]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys/master.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/requests]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/master.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys/master.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/puppet/ssl/ca/serial]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: Finishing transaction 23456266056120 with 0 changes debug: Creating default schedules debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/puppet/manifests] debug: Finishing transaction 23456265516300 with 0 changes debug: Creating default schedules debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/puppet/manifests] debug: Finishing transaction 23456265131840 with 0 changes debug: Creating default schedules debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/puppet/manifests] debug: Finishing transaction 23456264747700 with 0 changes info: Listening on port 8140 notice: Starting Puppet server version 0.24.8 debug: Allowing authenticated client blah(10.10.10.11) access to puppetmaster.getconfig debug: Our client is remote debug: Executing ''/usr/local/sbin/puppet_node_classifier blah'' debug: Empty response for blah from exec exec terminus err: Could not call: Could not find node ''blah''; cannot compile My node definition: # /etc/puppet/manifests/site.pp import "modules" import "nodes" filebucket { main: server => puppet } # global defaults File { backup => main } Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" } Package { provider => $operatingsystem ? { debian => aptitude, redhat => yum, centos => yum } } # /etc/puppet/manifests/nodes.pp node default { include nagios-nrpe include inventory-client include snmpd include sudo include ssh include resolvconf include ossec-hids-client include hosts } Please let me know if any additional information is needed. Thank You -jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Hansen
2009-Jun-03 23:41 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
Jim Pirzyk wrote:> Do you have a > > node default { > ... > } > > section in your site.pp or any included file? >Yes: # /etc/puppet/manifests/site.pp import "modules" import "nodes" filebucket { main: server => puppet } # global defaults File { backup => main } Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" } Package { provider => $operatingsystem ? { debian => aptitude, redhat => yum, centos => yum } } # /etc/puppet/manifests/nodes.pp node default { include nagios-nrpe include inventory-client include snmpd include sudo include ssh include resolvconf include ossec-hids-client include hosts }> - JimP > > On Jun 3, 2009, at 7:12 PM, Jeremy Hansen wrote: > > >> Actually, puppet seems to be doing this for any NEW host. What >> went wrong? >> >> -jeremy >> >> Jeremy Hansen wrote: >> >>> This one is driving me a little crazy. >>> >>> This is a Xen host. The first we''re trying to get into puppet. I >>> continuously get: >>> >>> Could not retrieve catalog: Could not find node ''blah''; cannot >>> compile >>> >>> I can''t figure out why this is happening. >>> >>> No problem with resolving. The puppetmaster is saying this: >>> >>> Could not call: Could not find node ''blah''; cannot compile >>> >>> Any clues on how to debug. >>> >>> Thanks >>> -jeremy >>> >>> >> >> >> >> > > --- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $ > __o jim@pirzyk.org ------------------------------------------- > _''\<,_ > (*)/ (*) I''d rather be out biking. > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
David Schmitt
2009-Jun-04 06:42 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
Jeremy Hansen schrieb:> notice: Starting Puppet server version 0.24.8 > debug: Allowing authenticated client blah(10.10.10.11) access to > puppetmaster.getconfig > debug: Our client is remote > debug: Executing ''/usr/local/sbin/puppet_node_classifier blah'' > debug: Empty response for blah from exec exec terminus > err: Could not call: Could not find node ''blah''; cannot compileThere you have it! Your node classifier doesn''t work. Regards, DavidS -- dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at Klosterneuburg UID: ATU64260999 FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Hansen
2009-Jun-04 07:31 UTC
[Puppet Users] Re: Could not retrieve catalog: Could not find node
David Schmitt wrote:> Jeremy Hansen schrieb: > >> notice: Starting Puppet server version 0.24.8 >> debug: Allowing authenticated client blah(10.10.10.11) access to >> puppetmaster.getconfig >> debug: Our client is remote >> debug: Executing ''/usr/local/sbin/puppet_node_classifier blah'' >> debug: Empty response for blah from exec exec terminus >> err: Could not call: Could not find node ''blah''; cannot compile >> > > There you have it! Your node classifier doesn''t work. > > > Regards, DavidS > > >Found the issue and you are correct. Someone made a change I was unaware of. All is well. Thanks -jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---