Well, I found the cause but I still don't know the reason... On a whim, I removed the "storedconfigs" settings from my puppetmaster's configuration. Everything started working. BIZARRE!!!
Deven On Oct 26, 4:21 pm, Deven Phillips <[email protected]> wrote: > Hello all, > > I'm hoping that someone on this list might be able to help me track > down an error in my manifests. I have 3 environments. In my dev > environment, I have the following directories configured: > > /etc/puppet/dev/modules > manifests > templates > > For the manifests folder, I have puppet configured to reference a > "site.pp" file which then includes other files using: > > import "nodes/*.pp" > import "classes/*.pp" > > On one of my nodes which is definitely configured to use the dev > environment (I have seen the requests in the Passenger logs) I keep > getting the following error: > > # puppet agent --test > info: Retrieving plugin > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > syntax error on line 62, col 0: `0 #<File:0xb5c3264c>' > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > Running with the "--debug" option does not give any further details > about the error. > > On the puppetmaster, I have checked the puppet logs and I see: > > Oct 26 15:59:46 DELETED puppet-master[25442]: Compiled catalog for > DELETED in environment dev in 0.02 seconds > Oct 26 15:59:46 DELETED puppet-master[25442]: syntax error on line 62, > col 0: `0 #<File:0xb5c3264c>' > Oct 26 15:59:46 DELETED puppet-master[25442]: (//DELETED/Puppet) Could > not retrieve catalog from remote server: Error 400 on SERVER: syntax > error on line 62, col 0: `0 #<File:0xb5c3264c>' > Oct 26 15:59:46 DELETED puppet-master[25442]: (//DELETED/Puppet) Not > using cache on failed catalog > Oct 26 15:59:46 DELETED puppet-master[25442]: (//DELETED/Puppet) Could > not retrieve catalog; skipping run > > I have checked, double-checked, and triple checked my manifests. I have > removed all of the contents of the "node" definition for this host, and > I still get this error... Strangely, I do not get this error on ANY > other hosts!!! > > The node in question is "Ubuntu 8.04.4 LTS" > The puppet version is : 2.6.7 > The facter version is : 1.5.8 > The puppetmaster is running puppet version 2.7.3 and is running via > Passenger > > I have even gone one step further... I removed all of my classes and all > other nodes from the manifests such that I have 3 files: > > /etc/puppet/dev/manifests/site.pp which imports the classes/** and the > nodes/** > /etc/puppet/dev/manifests/nodes/problemnode.pp which has an empty "node" > block > /etc/puppet/dev/manifests/classes/test.pp which is blank > > And I STILL get the same error!?!?!? WTF?!?! ***pulls hair out*** > > Please help!!! > > Deven -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
