Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 0.10.6
-
Fix Version/s: None
-
Component/s: Chef Solo
-
Environment:
CentOS release 5.7 x86_64
#ruby and chef installed from rbel
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
rubygem-chef.noarch 0.10.6-1.el5.centos
Description
From a chef solo run, I frequently receive IOError and the chef solo run exits with a status 1.
If I rerun chef solo, it normally completes successful but requires multiple calls.
This seems similar to the closed issue http://tickets.opscode.com/browse/CHEF-1104
IOError: closed stream /usr/lib/ruby/1.8/tempfile.rb:167:in `close' /usr/lib/ruby/1.8/tempfile.rb:167:in `callback' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource.rb:161:in `call' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/resource.rb:161:in `load_prior_resource' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:62:in `method_missing' /var/chef/cookbooks/sudo/recipes/default.rb:24:in `from_file' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/cookbook_version.rb:578:in `load_recipe' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/run_context.rb:72:in `load' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/run_context.rb:69:in `each' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/run_context.rb:69:in `load' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/client.rb:195:in `setup_run_context' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/client.rb:159:in `run' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application/solo.rb:192:in `run_application' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application/solo.rb:183:in `loop' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application/solo.rb:183:in `run_application' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/application.rb:67:in `run' /usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/chef-solo:25 /usr/bin/chef-solo:19:in `load' /usr/bin/chef-solo:19
+1 I am experiencing the same with chef-solo.
Ubuntu 12.04 LTS x86_32 under VMWare fusion 3.1.4 on OSX 10.7.4
ruby 1.8.7 (2011-06-30 patchlevel 352)[i686-linux], with rubygems 1.8.24
chef (0.10.10)