Constant "end of file reached"

620 views
Skip to first unread message

Steve Perry

unread,
Sep 18, 2014, 12:37:57 PM9/18/14
to puppet...@googlegroups.com
Wondering if anyone has seen this issue before:

[root@xxpuppet2 puppet]# puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: end of file reached
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': end of file reached
Info: Loading facts
Error: Could not retrieve catalog from remote server: end of file reached
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@xxpuppet2 puppet]#

I am seeing this happen on every node that runs against this master.  This seems to have started randomly...

Any insight would be greatly appreciated.




Kylo Ginsberg

unread,
Sep 18, 2014, 12:47:44 PM9/18/14
to puppet...@googlegroups.com
Hi Steve,

What version of puppet are you running?

If you recently upgraded to 3.7.x, you could be seeing https://tickets.puppetlabs.com/browse/PUP-3238. The tldr there is that the new http_keepalive_timeout setting should be less than the puppet master's keep alive timeout (e.g. KeepAliveTimeout on apache).

Thanks!
Kylo

Steve Perry

unread,
Sep 18, 2014, 3:25:33 PM9/18/14
to puppet...@googlegroups.com
Thanks for the reply Kylo - 

We were running puppet 3.7.1-1.  After seeing this, I checked the keep alive settings in httpd.conf and KeepAlive was off.  After enabling KeepAlive and setting it to 15 seconds, I was still seeing the same issue.

I took a snapshot of the virtual machine and then downgraded the puppet master/agent to 3.6.2-1 (changed KeepAlive back to off) and I'm still seeing the error:

Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: end of file reached
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading external facts from /etc/puppet/modules/puppet/facts.d
Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_package_updates.rb
Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_updates.rb
Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_security_updates.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/apt_package_updates.rb
Info: Loading facts in /var/lib/puppet/lib/facter/apt_updates.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/apt_security_updates.rb
Error: Could not retrieve catalog from remote server: end of file reached
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Reply all
Reply to author
Forward
0 new messages