Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Created November 3, 2011 23:57
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 xurizaemon/1338304 to your computer and use it in GitHub Desktop.
Save xurizaemon/1338304 to your computer and use it in GitHub Desktop.
chef-solo output
root@lucid64:/etc/chef# chef-solo -l debug -c config/solo.rb -j config/chef.json
INFO: *** Chef 0.10.2 ***
DEBUG: Building node object for lucid64
DEBUG: Extracting run list from JSON attributes provided on command line
INFO: Setting the run_list to "test::default" from JSON
DEBUG: Applying attributes from json file
DEBUG: Platform is ubuntu version 10.04
INFO: Run List is [recipe[test::default]]
INFO: Run List expands to [test::default]
INFO: Starting Chef Run for lucid64
DEBUG: No chefignore file found at /site-cookbooks/chefignore no files will be ignored
DEBUG: No chefignore file found at /cookbooks/chefignore no files will be ignored
DEBUG: No chefignore file found at /etc/chef/site-cookbooks/chefignore no files will be ignored
DEBUG: No chefignore file found at /etc/chef/cookbooks/chefignore no files will be ignored
DEBUG: Loading cookbook packages's library file: /etc/chef/cookbooks/packages/libraries/packages.rb
DEBUG: Node lucid64 loading cookbook dynomite's attribute file /etc/chef/cookbooks/dynomite/attributes/dynomite.rb
DEBUG: Node lucid64 loading cookbook openldap's attribute file /etc/chef/cookbooks/openldap/attributes/openldap.rb
ERROR: Running exception handlers
ERROR: Exception handlers complete
DEBUG: Re-raising exception: NoMethodError - undefined method `length' for nil:NilClass
/etc/chef/cookbooks/openldap/attributes/openldap.rb:21:in `from_file'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/node.rb:655:in `load_attributes'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/node.rb:653:in `each'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/node.rb:653:in `load_attributes'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/node.rb:652:in `each'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/node.rb:652:in `load_attributes'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/run_context.rb:101:in `load_attributes'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/run_context.rb:60:in `load'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/client.rb:195:in `setup_run_context'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/client.rb:159:in `run'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:192:in `run_application'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:183:in `loop'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:183:in `run_application'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application.rb:66:in `run'
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/chef-solo:25
/opt/ruby/bin/chef-solo:19:in `load'
/opt/ruby/bin/chef-solo:19
/opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/mixin/create_path.rb:39:in `create_path': undefined method `match' for nil:NilClass (NoMethodError)
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/file_cache.rb:204:in `create_cache_path'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/file_cache.rb:53:in `store'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application.rb:133:in `debug_stacktrace'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:210:in `run_application'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:183:in `loop'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application/solo.rb:183:in `run_application'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/application.rb:66:in `run'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/chef-solo:25
from /opt/ruby/bin/chef-solo:19:in `load'
from /opt/ruby/bin/chef-solo:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment