Hi Matt, Thats a bit odd, when using external nodes you shouldn't need any node definitions within your manifests.
any chance you have some leftover nodes definitions? Ohad On Mon, Sep 28, 2009 at 5:52 PM, Matt <mattmora...@gmail.com> wrote: > > Update:- > > I added a default node to a manifest file, just - > > node default { > include env > } > > This appears to have made the puppetmasterd kick in to action and > compile the catalog from the foreman for that node. i.e. I see > puppetmasterd compile all the correct classes for the node and not > just the default one. > > notice: Compiled catalog for sl01.domain.sl in 0.14 seconds > > But the client is still giving - > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > > > 2009/9/28 Matt <mattmora...@gmail.com>: > > Hi all, > > > > I've hit a wall trying to get external nodes working on our production > > puppet master. I'm using the foreman to supply the external nodes > > information and have it all working in the dev environment. > > > > I've started all processes in debug - running Puppet 0.25 > > > > puppetd - > > debug: Puppet::Network::Format[json]: false value when expecting true > > err: Could not retrieve catalog from remote server: Error 400 on > > SERVER: Could not find default node or by name with 'sl01.domain.sl, > > sl01.domain, sl01' on node sl01.domain.sl > > warning: Not using cache on failed catalog > > err: Could not retrieve catalog; skipping run > > > > puppetmasterd - > > info: Not using expired node for sl01.domain.sl from cache; expired at > > Mon Sep 28 09:28:47 +0100 2009 > > debug: Executing '/etc/puppet/node.rb sl01.domain.sl' > > info: Caching node for sl01.domain.sl > > .... > > err: Could not find default node or by name with 'sl01.domain.sl, > > sl01.domain, sl01' on node sl01.domain.sl > > err: Could not find default node or by name with 'sl01.domain.sl, > > sl01.domain, sl01' on node sl01.domain.sl > > > > foreman - > > Processing HostsController#externalNodes (for 127.0.0.1 at 2009-09-28 > > 09:39:30) [GET] > > Parameters: {"fqdn"=>"sl01.domain.sl", "action"=>"externalNodes", > > "controller"=>"hosts"} > > Completed in 9ms (View: 0, DB: 1) | 200 OK > > [http://localhost/hosts/externalNodes?fqdn=sl01.domain.sl] > > > > manually - > > # su - puppet > > -bash-3.2$ cd /etc/puppet > > -bash-3.2$ ./node.rb sl01.domain.sl > > --- > > parameters: > > s3: "false" > > puppetmaster: sl02.domain.sl > > java: jre16007 > > domainname: domain.sl > > classes: > > - env > > - ganglia > > > > > > Anyone have any idea how I can find out whats going on? > > > > The only difference I can see between the production and dev boxes is > > that the production box uses certdnsnames, as it has both external and > > internal clients - > > certname=sl02.domain.com > > certdnsnames=sl02.domain.com:sl02.domain.sl > > > > Thanks, > > > > Matt > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---