My co-worker said he got lucky on a google search a couple months ago and suggested that I look at that directory. when I saw a one to one correspondence between the short files and the systems not working it was a quick fix. We suspect that the disk ran out of room before a scheduled clean up ran and caused the truncated files.
On Wednesday, June 17, 2015 at 2:46:43 PM UTC-4, Tom Noonan wrote: > > 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] <javascript:>> 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/56789a11-231a-4901-937c-065a92cc1340%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
