Skip to content

Instantly share code, notes, and snippets.

@ajohnstone
Created February 16, 2014 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajohnstone/9033496 to your computer and use it in GitHub Desktop.
Save ajohnstone/9033496 to your computer and use it in GitHub Desktop.
[2014-02-15T23:47:35-02:00] DEBUG: Found recipe default in cookbook yum
[2014-02-15T23:47:35-02:00] DEBUG: filtered backtrace of compile error: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file'
[2014-02-15T23:47:35-02:00] DEBUG: filtered backtrace of compile error: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file'
[2014-02-15T23:47:35-02:00] DEBUG: backtrace entry for compile error: '/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file''
[2014-02-15T23:47:35-02:00] DEBUG: Line number of compile error: '26'
================================================================================
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb
================================================================================
Chef::Exceptions::ValidationFailed
----------------------------------
Option obsoletes must be a kind of TrueClassFalseClass! You passed "1".
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file'
Relevant File Content:
----------------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:
19: yum_globalconfig '/etc/yum.conf' do
20: cachedir node['yum']['main']['cachedir']
21: keepcache node['yum']['main']['keepcache']
22: debuglevel node['yum']['main']['debuglevel']
23: exclude node['yum']['main']['exclude']
24: logfile node['yum']['main']['logfile']
25: exactarch node['yum']['main']['exactarch']
26>> obsoletes node['yum']['main']['obsoletes']
27: proxy node['yum']['main']['proxy']
28: installonly_limit node['yum']['main']['installonly_limit']
29: installonlypkgs node['yum']['main']['installonlypkgs']
30: installroot node['yum']['main']['installroot']
31: distroverpkg node['yum']['main']['distroverpkg']
32: action :create
33: end
34:
[2014-02-15T23:47:35-02:00] DEBUG: Re-raising exception: Chef::Exceptions::ValidationFailed - Option obsoletes must be a kind of TrueClassFalseClass! You passed "1".
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:140:in `_pv_kind_of'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:69:in `send'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:69:in `validate'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:66:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:66:in `validate'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:56:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:56:in `validate'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:88:in `set_or_return'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/resource.rb:700:in `_set_or_return_obsoletes'
(eval):2:in `obsoletes'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:74:in `instance_eval'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:74:in `method_missing'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/cookbook_version.rb:558:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:46:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:33:in `include_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/cookbook_version.rb:558:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:46:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:33:in `include_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/run_context.rb:79:in `load'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/run_context.rb:75:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/run_context.rb:75:in `load'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/client.rb:198:in `setup_run_context'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/client.rb:418:in `do_run'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/client.rb:176:in `run'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application/solo.rb:230:in `run_application'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application/solo.rb:218:in `loop'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application/solo.rb:218:in `run_application'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application.rb:70:in `run'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/chef-solo:25
/usr/local/bin/chef-solo:19:in `load'
/usr/local/bin/chef-solo:19
[2014-02-15T23:47:35-02:00] ERROR: Running exception handlers
[2014-02-15T23:47:35-02:00] ERROR: Exception handlers complete
[2014-02-15T23:47:35-02:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-02-15T23:47:35-02:00] DEBUG: Chef::Exceptions::ValidationFailed: Option obsoletes must be a kind of TrueClassFalseClass! You passed "1".
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:140:in `_pv_kind_of'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:69:in `send'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:69:in `validate'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:66:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:66:in `validate'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:56:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:56:in `validate'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/params_validate.rb:88:in `set_or_return'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/resource.rb:700:in `_set_or_return_obsoletes'
(eval):2:in `obsoletes'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:74:in `instance_eval'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:74:in `method_missing'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/cookbook_version.rb:558:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:46:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:33:in `include_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/cookbook_version.rb:558:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:46:in `load_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:33:in `include_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/run_context.rb:79:in `load'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/run_context.rb:75:in `each'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/run_context.rb:75:in `load'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/client.rb:198:in `setup_run_context'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/client.rb:418:in `do_run'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/client.rb:176:in `run'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application/solo.rb:230:in `run_application'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application/solo.rb:218:in `loop'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application/solo.rb:218:in `run_application'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/../lib/chef/application.rb:70:in `run'
/var/lib/gems/1.8/gems/chef-10.14.4/bin/chef-solo:25
/usr/local/bin/chef-solo:19:in `load'
/usr/local/bin/chef-solo:19
[2014-02-15T23:47:35-02:00] FATAL: Chef::Exceptions::ValidationFailed: Option obsoletes must be a kind of TrueClassFalseClass! You passed "1".
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment