Good catch.  Out of curiosity, what lead you to look at file sizes
in /var/lib/puppet/yaml/node?  Based on your initial problem
description that is not where I would have been looking to troubleshoot.

On Wed, 17 Jun 2015 07:11:09 -0700 (PDT)
Ed Deloye <[email protected]> wrote:

> Discovered truncated yaml files on the puppet master in 
> /var/lib/puppet/yaml/node for the 24 systems. Identified as each one
> was 4096 bytes. After deleting those files puppet runs successfully
> on the nodes.
> 
> On Thursday, May 29, 2014 at 3:57:49 PM UTC-4, Sans wrote:
> >
> >  I have two identical nodes - serv106 and serv107 - one of which is 
> > working just fine but the other one failing with these error
> > message:
> >
> > err: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: 
> >> undefined method `include?' for nil:NilClass on node 
> >> warning: Not using cache on failed catalog
> >> err: Could not retrieve catalog; skipping run
> >>
> >
> >
> > running puppet master in the foreground, I see these on the screen: 
> >
> > err: undefined method `include?' for nil:NilClass on node
> >> err: undefined method `include?' for nil:NilClass on node
> >> debug: Received report to process from serv106.syst.local
> >> debug: Processing report from serv106.syst.local with processor 
> >> Puppet::Reports::Store
> >> debug: Processing report from serv106.syst.local with processor 
> >> Puppet::Reports::Http
> >> err: Report processor failed: Connection refused - connect(2)
> >> debug: Processing report from serv106.syst.local with processor 
> >> Puppet::Reports::Log
> >> err: //serv106.syst.local/Puppet: Could not retrieve catalog from
> >> remote server: Error 400 on SERVER: undefined method `include?'
> >> for nil:NilClass on node
> >> warning: //serv106.syst.local/Puppet: Not using cache on failed
> >> catalog err: //serv106.syst.local/Puppet: Could not retrieve
> >> catalog; skipping run
> >>
> >
> >
> > a bit if google-search suggested that  removing certificates from
> > both master and the agent (and recreating afterwards) is the
> > solution to this issue. Which did but no joy so far. Has any one
> > ever seen this error before or know what's I'm doing wrong here.
> > Any help/pointer would be greatly appreciated. 
> >
> > Best!
> >
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20150617124634.66bce9c7%40vncBox.tjnii.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to