Skip to content

Instantly share code, notes, and snippets.

@kcbraunschweig
Created June 27, 2011 22:34
Show Gist options
  • Save kcbraunschweig/1050021 to your computer and use it in GitHub Desktop.
Save kcbraunschweig/1050021 to your computer and use it in GitHub Desktop.
shef solo stacktrace
[root@chef-test1 foo]# shef -s -c /etc/chef/solo.rb -j /root/chef.json
loading configuration: /etc/chef/solo.rb
Session type: solo
Loading.[Mon, 27 Jun 2011 15:32:34 -0700] INFO: Run List is []
[Mon, 27 Jun 2011 15:32:34 -0700] INFO: Run List expands to []
.epic fail!
/usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:167:in `rebuild_context': undefined local variable or method `run_status' for #<Shef::SoloSession:0x2b70a96e9b38> (NameError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:54:in `reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:96:in `loading'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:49:in `reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef.rb:122:in `session'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef.rb:131:in `init'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef.rb:62:in `start'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/shef:34
from /usr/bin/shef:19:in `load'
from /usr/bin/shef:19
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: I am not loading attribute file apache2, because I have already seen it.
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Loading Attribute chef
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook chef's attribute file /tmp/chef-solo/cookbooks/chef/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook chef-client's attribute file /tmp/chef-solo/cookbooks/chef-client/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook apache2's attribute file /tmp/chef-solo/cookbooks/apache2/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook ucspi-tcp's attribute file /tmp/chef-solo/cookbooks/ucspi-tcp/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook erlang's attribute file /tmp/chef-solo/cookbooks/erlang/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook rabbitmq's attribute file /tmp/chef-solo/cookbooks/rabbitmq/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Node chef-test1.csdcloud.internal loading cookbook bluepill's attribute file /tmp/chef-solo/cookbooks/bluepill/attributes/default.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Loading cookbook runit's definitions from /tmp/chef-solo/cookbooks/runit/definitions/runit_service.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Loading cookbook apache2's definitions from /tmp/chef-solo/cookbooks/apache2/definitions/apache_site.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Loading cookbook apache2's definitions from /tmp/chef-solo/cookbooks/apache2/definitions/apache_conf.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Loading cookbook apache2's definitions from /tmp/chef-solo/cookbooks/apache2/definitions/web_app.rb
[Mon, 27 Jun 2011 15:32:47 -0700] DEBUG: Loading cookbook apache2's definitions from /tmp/chef-solo/cookbooks/apache2/definitions/apache_module.rb
epic fail!
/usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:167:in `rebuild_context': undefined local variable or method `run_status' for #<Shef::SoloSession:0x2b35844698a0> (NameError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:54:in `reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:96:in `loading'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef/shef_session.rb:49:in `reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef.rb:122:in `session'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef.rb:131:in `init'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/shef.rb:62:in `start'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/shef:34
from /usr/bin/shef:19:in `load'
from /usr/bin/shef:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment