Issue #3019 has been updated by Josh Endries.

I get these errors (mostly eval_generate) all the time on my hosts (WEBRick). 
It's sporadic, doesn't happen every run. It seems like it happens in modules 
that deal with many small files (Tomcat is ~2100 and Fedora is ~1800). I have 
been dealing with it (ok ok, ignoring it) for months and haven't found any 
pattern to the errors yet. Some have error messages, some don't. Most are 
usually EOF errors, which would make sense to me if there were a problem in a 
manifest but most of the time and whenever I run it manually the same host 
seems to work fine. I'm 99% certain networking is fine as it's only one or two 
hosts that complain when I have dozens, and if the network were flaky I'd have 
all sorts of other errors. This is on 0.25.1. I haven't ran the server in debug 
mode yet but I'll set that up today and hope one of these comes through 
quickly. If this is ticket hijacking let me know and ignore me. :)

Mon Jan 25 07:35:07 -0500 2010 
//Node[repo1]/Fedora[fedora]/Tomcat[fedora]/File[/usr/local/tomcat-fedora/webapps]
 (err): Failed to generate additional resources using 'eval_generate': end of 
file reached 

Sat Dec 19 22:58:21 -0500 2009 
//Node[dds1]/Dds[dds]/Tomcat[dds]/File[/usr/local/tomcat-dds] (err): Failed to 
generate additional resources using 'eval_generate': 

Tue Jan 05 17:57:50 -0500 2010 
//Node[repo6]/Proai[proai]/Tomcat[proai]/File[/usr/local/tomcat-proai/webapps] 
(err): Failed to generate additional resources using 'eval_generate':
Tue Jan 05 17:57:50 -0500 2010 
//Node[repo6]/Proai[proai]/Tomcat[proai]/File[/usr/local/tomcat-proai/webapps] 
(err): Failed to retrieve current state of resource:  Could not retrieve file 
metadata for puppet:///modules/tomcat/6.0.20/titles/proai/1.2/webapps:  at 
/etc/puppet/production/modules/tomcat/manifests/init.pp:143 

Wed Jan 06 07:41:48 -0500 2010 
//wfi/Tomcat[wfi]/File[/usr/local/tomcat-wfi/webapps] (err): Failed to generate 
additional resources using 'eval_generate': end of file reached 

Fri Jan 22 17:14:07 -0500 2010 
//Node[repo1]/Fedora[fedora]/File[/usr/local/fedora] (err): Failed to generate 
additional resources using 'eval_generate': end of file reached 

Fri Jan 22 17:53:22 -0500 2010 
//Node[repo1]/Fedora[fedora]/File[/usr/local/fedora] (err): Failed to generate 
additional resources using 'eval_generate': end of file reached 

Sat Jan 23 05:39:16 -0500 2010 
//Node[repo1]/Fedora[fedora]/File[/usr/local/fedora] (err): Failed to generate 
additional resources using 'eval_generate': Could not intern_multiple from 
marshal: marshal data too short 
----------------------------------------
Bug #3019: Failed to generate resources / Could not retieve file metadata
http://projects.reductivelabs.com/issues/3019

Author: Markus Roberts
Status: Needs more information
Priority: Normal
Assigned to: Markus Roberts
Category: fileserving
Target version: 0.25.5
Affected version: 0.25.4rc2
Keywords: 
Branch: 


(Reported by Mark Plaksin)

I think I'm getting 3 different stack traces on our RHEL 4.7 box. (1) has
"connect" at the top and is about a recursive file resource. (2) and (3)
both start with "fail". In (2) the file on the file server is symlink (and
is inside a recursive file resource, in (3) the file is a normal file. The
traces don't always happen on the same files from run to run.

------------------------------------------------------------------------------
1:

/usr/lib/ruby/1.8/net/protocols.rb:49:in `connect'
/usr/lib/ruby/1.8/net/protocols.rb:49:in `ssl_connect'
/usr/lib/ruby/1.8/net/https.rb:181:in `on_connect'
/usr/lib/ruby/1.8/net/http.rb:433:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:419:in `start'
/usr/lib/ruby/1.8/net/http.rb:824:in `request'
/usr/lib/ruby/1.8/net/http.rb:618:in `get'
/usr/src/git/puppet/lib/puppet/indirector/rest.rb:73:in `search'
/usr/src/git/puppet/lib/puppet/indirector/indirection.rb:240:in `search'
/usr/src/git/puppet/lib/puppet/indirector.rb:59:in `search'
/usr/src/git/puppet/lib/puppet/type/file.rb:595:in `perform_recursion'
/usr/src/git/puppet/lib/puppet/type/file.rb:562:in `recurse_remote'
/usr/src/git/puppet/lib/puppet/type/file.rb:561:in `collect'
/usr/src/git/puppet/lib/puppet/type/file.rb:561:in `recurse_remote'
/usr/src/git/puppet/lib/puppet/type/file.rb:483:in `recurse'
/usr/src/git/puppet/lib/puppet/type/file.rb:385:in `eval_generate'
/usr/src/git/puppet/lib/puppet/transaction.rb:349:in `send'
/usr/src/git/puppet/lib/puppet/transaction.rb:349:in 
`generate_additional_resources'
/usr/src/git/puppet/lib/puppet/transaction.rb:193:in `eval_generate'
/usr/src/git/puppet/lib/puppet/transaction.rb:240:in 
`eval_children_and_apply_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:207:in `eval_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:296:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:295:in `thinmark'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `thinmark'
/usr/src/git/puppet/lib/puppet/transaction.rb:297:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:289:in `collect'
/usr/src/git/puppet/lib/puppet/transaction.rb:289:in `evaluate'
/usr/src/git/puppet/lib/puppet/resource/catalog.rb:142:in `apply'
/usr/src/git/puppet/lib/puppet/configurer.rb:153:in `run'
/usr/src/git/puppet/lib/puppet/configurer.rb:152:in `benchmark'
/usr/src/git/puppet/lib/puppet/util.rb:177:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:177:in `benchmark'
/usr/src/git/puppet/lib/puppet/configurer.rb:152:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `lock'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `synchronize'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:51:in `with_client'
/usr/src/git/puppet/lib/puppet/agent.rb:58:in `run'
/usr/src/git/puppet/lib/puppet/application/puppetd.rb:103:in `onetime'
/usr/src/git/puppet/lib/puppet/application/puppetd.rb:94:in `onetime'
/usr/src/git/puppet/lib/puppet/application.rb:226:in `send'
/usr/src/git/puppet/lib/puppet/application.rb:226:in `run_command'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `run'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `exit_on_fail'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `run'
sbin/puppetd:159
err: //allusers::bjones/Allusers::Userfile[bjones/bin]/File[/home/bjones/bin]: 
Failed to generate additional resources using 'eval_generate':

NOTE: There's nothing after that final colon except for a single space.

------------------------------------------------------------------------------
2:

/usr/src/git/puppet/lib/puppet/parameter.rb:401:in `fail'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:157:in `init_metadata'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:149:in `each'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:149:in `init_metadata'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:146:in `init_metadata'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:106:in `send'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:106:in `cached_value'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:46:in `metadata'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:45:in `metadata'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:111:in `copy_source_values'
/usr/src/git/puppet/lib/puppet/type/file.rb:630:in `retrieve'
/usr/src/git/puppet/lib/puppet/type.rb:726:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:62:in `apply'
/usr/src/git/puppet/lib/puppet/transaction.rb:251:in 
`eval_children_and_apply_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:250:in `thinmark'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `thinmark'
/usr/src/git/puppet/lib/puppet/transaction.rb:252:in 
`eval_children_and_apply_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:207:in `eval_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:296:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:295:in `thinmark'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `thinmark'
/usr/src/git/puppet/lib/puppet/transaction.rb:297:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:289:in `collect'
/usr/src/git/puppet/lib/puppet/transaction.rb:289:in `evaluate'
/usr/src/git/puppet/lib/puppet/resource/catalog.rb:142:in `apply'
/usr/src/git/puppet/lib/puppet/configurer.rb:153:in `run'
/usr/src/git/puppet/lib/puppet/configurer.rb:152:in `benchmark'
/usr/src/git/puppet/lib/puppet/util.rb:177:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:177:in `benchmark'
/usr/src/git/puppet/lib/puppet/configurer.rb:152:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `lock'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `synchronize'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:51:in `with_client'
/usr/src/git/puppet/lib/puppet/agent.rb:58:in `run'
/usr/src/git/puppet/lib/puppet/application/puppetd.rb:103:in `onetime'
/usr/src/git/puppet/lib/puppet/application/puppetd.rb:94:in `onetime'
/usr/src/git/puppet/lib/puppet/application.rb:226:in `send'
/usr/src/git/puppet/lib/puppet/application.rb:226:in `run_command'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `run'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `exit_on_fail'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `run'
sbin/puppetd:159
err: 
//allusers::tss/Allusers::Userfile[tss/.screenrc]/File[/home/tss/.screenrc]: 
Failed to retrieve current state of resource: Could not retrieve file metadata 
for puppet://billy.bor.usg.edu/allusers/tss/.screenrc: at 
/usr/src/git/bor/puppet/modules/allusers/manifests/init.pp:23

------------------------------------------------------------------------------
3:
/usr/src/git/puppet/lib/puppet/parameter.rb:401:in `fail'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:157:in `init_metadata'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:149:in `each'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:149:in `init_metadata'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:146:in `init_metadata'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:106:in `send'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:106:in `cached_value'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:46:in `metadata'
/usr/src/git/puppet/lib/puppet/util/cacher.rb:45:in `metadata'
/usr/src/git/puppet/lib/puppet/type/file/source.rb:111:in `copy_source_values'
/usr/src/git/puppet/lib/puppet/type/file.rb:630:in `retrieve'
/usr/src/git/puppet/lib/puppet/type.rb:726:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:62:in `apply'
/usr/src/git/puppet/lib/puppet/transaction.rb:251:in 
`eval_children_and_apply_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:250:in `thinmark'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `thinmark'
/usr/src/git/puppet/lib/puppet/transaction.rb:252:in 
`eval_children_and_apply_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:207:in `eval_resource'
/usr/src/git/puppet/lib/puppet/transaction.rb:296:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:295:in `thinmark'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:405:in `thinmark'
/usr/src/git/puppet/lib/puppet/transaction.rb:297:in `evaluate'
/usr/src/git/puppet/lib/puppet/transaction.rb:289:in `collect'
/usr/src/git/puppet/lib/puppet/transaction.rb:289:in `evaluate'
/usr/src/git/puppet/lib/puppet/resource/catalog.rb:142:in `apply'
/usr/src/git/puppet/lib/puppet/configurer.rb:153:in `run'
/usr/src/git/puppet/lib/puppet/configurer.rb:152:in `benchmark'
/usr/src/git/puppet/lib/puppet/util.rb:177:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:342:in `realtime'
/usr/src/git/puppet/lib/puppet/util.rb:177:in `benchmark'
/usr/src/git/puppet/lib/puppet/configurer.rb:152:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `lock'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `synchronize'
/usr/src/git/puppet/lib/puppet/agent.rb:53:in `run'
/usr/src/git/puppet/lib/puppet/agent.rb:51:in `with_client'
/usr/src/git/puppet/lib/puppet/agent.rb:58:in `run'
/usr/src/git/puppet/lib/puppet/application/puppetd.rb:103:in `onetime'
/usr/src/git/puppet/lib/puppet/application/puppetd.rb:94:in `onetime'
/usr/src/git/puppet/lib/puppet/application.rb:226:in `send'
/usr/src/git/puppet/lib/puppet/application.rb:226:in `run_command'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `run'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `exit_on_fail'
/usr/src/git/puppet/lib/puppet/application.rb:217:in `run'
sbin/puppetd:159
err: //networker/File[/usr/local/bin/NSRpre_process]: Failed to retrieve 
current state of resource: Could not retrieve file metadata for 
puppet://billy.bor.usg.edu/networker/NSRpre_process: at 
/usr/src/git/bor/puppet/modules/networker/manifests/init.pp:26



-- 
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://reductivelabs.com/redmine/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