Issue #4808 has been updated by Alan Harder.

More messages that may or may not be related to this issue, but seem connection 
related:

<pre>err: 
/Stage[main]/MyClass::Database/MyClass::Run_script[db.sh]/File[/tmp/puppet_myapp/db.sh]:
 Could not evaluate:
 Connection reset by peer - SSL_connect Could not retrieve file metadata for 
puppet:///modules/myapp/scripts/db.sh:
 Connection reset by peer - SSL_connect at 
/etc/opt/csw/puppet/modules/myapp/manifests/database.pp:226</pre>
As you can probably tell from the error message, the line# referenced above is 
a file resource for db.sh file.

<pre>Fri Sep 17 09:36:52 -0600 2010 
/File[/tmp/puppet_myapp/ARTIFACTS/DB/SCHEMA/myfile.sql] (err): Could not 
evaluate:
 SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A 
Could not retrieve file metadata for puppet:///modules/myapp/sql/myfile.sql:
 SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A
Fri Sep 17 09:37:22 -0600 2010 
/File[/tmp/puppet_myapp/ARTIFACTS/DB/SCHEMA/anotherfile.sql] (err): Could not 
evaluate: end of file reached
Could not retrieve file metadata for 
puppet:///modules/myapp/sql/anotherfile.sql: end of file reached</pre>
The SQL message above looks similar to the intermittent failures we always used 
to get using Puppet 0.25.4.

<pre>Fri Sep 17 14:03:54 -0600 2010 
/Stage[main]/MyClass::Database/MyClass::Run_script[db.sh]/File[/tmp/puppet_myapp/db.sh]/content
 (err):
 change from {md5}3d48bc877870f3d564f9d64bf6948e14 to 
{md5}ec516686434b2f783d6712deb016ef30 failed: end of file reached</pre>

<pre>Fri Sep 17 10:14:25 -0600 2010 
/Stage[main]/Configs/File[/var/sadm/install/admin/puppet] (err): Could not 
evaluate: end of file reached
Could not retrieve file metadata for puppet:///modules/configs/pkg.admin: end 
of file reached at 
/etc/opt/csw/puppet/modules/configs/manifests/init.pp:32</pre>

<pre>Tue Sep 21 14:34:46 -0600 2010 Puppet (err): Could not retrieve catalog 
from remote server: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read 
server hello A
Tue Sep 21 14:34:46 -0600 2010 Puppet (warning): Not using cache on failed 
catalog
Tue Sep 21 14:34:46 -0600 2010 Puppet (err): Could not retrieve catalog; 
skipping run</pre>

----------------------------------------
Bug #4808: Intermittent "Could not retrieve catalog from remote server: end of 
file reached"
http://projects.puppetlabs.com/issues/4808

Author: Alan Harder
Status: Unreviewed
Priority: Normal
Assignee: 
Category: network
Target version: 
Affected version: 2.6.1
Keywords: 
Branch: 


With puppet 2.6.1 / ruby 1.8.7 on Solaris 10, we occassionally get "end of file 
reached" errors.  We have ~100 client systems connecting to the puppetmaster.. 
all are puppet 2.6.1.

<pre>
Sep 18 12:20:19 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
(/Stage[main]/Sjsws::Start_admin/Exec[sjsws_start_admin]/returns) executed 
successfully
Sep 18 12:20:20 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
Finished catalog run in 27.08 seconds
Sep 18 18:21:00 int-transport puppet-agent[2247]: [ID 702911 daemon.notice] 
(/Stage[main]/Sjsws::Start_admin/Exec[sjsws_start_admin]/returns) executed 
successfully
Sep 18 18:21:01 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
Finished catalog run in 27.30 seconds
<b>Sep 19 00:21:09 my-server puppet-agent[2247]: [ID 702911 daemon.error] Could 
not retrieve catalog from remote server: end of file reached</b>
Sep 19 00:21:09 my-server puppet-agent[2247]: [ID 702911 daemon.warning] Not 
using cache on failed catalog
Sep 19 00:21:09 my-server puppet-agent[2247]: [ID 702911 daemon.error] Could 
not retrieve catalog; skipping run
Sep 19 06:21:49 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
(/Stage[main]/Sjsws::Start_admin/Exec[sjsws_start_admin]/returns) executed 
successfully
Sep 19 06:21:49 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
Finished catalog run in 27.88 seconds
Sep 19 12:22:28 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
(/Stage[main]/Sjsws::Start_admin/Exec[sjsws_start_admin]/returns) executed 
successfully
Sep 19 12:22:29 my-server puppet-agent[2247]: [ID 702911 daemon.notice] 
Finished catalog run in 27.22 seconds
</pre>

It would be nice to avoid these, as we have set things up to send emails for 
recipe errors..
Our previous version was 0.25.4.. on that version we got intermittent errors 
with some message about SSL.. we had hoped this upgrade would silence these 
emails, but not yet.. just a different message :-/

I will try to capture one of these failures with debug log output.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to