Skip to content

Instantly share code, notes, and snippets.

@robbkidd
Last active December 12, 2015 12:19
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 robbkidd/4771646 to your computer and use it in GitHub Desktop.
Save robbkidd/4771646 to your computer and use it in GitHub Desktop.
web [2013-02-12T17:35:11+00:00] INFO: *** Chef 10.20.0 ***
web [2013-02-12T17:35:11+00:00] INFO: [inet6] no default interface, picking the first ipaddress
web [2013-02-12T17:35:11+00:00] INFO: Client key /etc/chef/client.pem is not present - registering
web [2013-02-12T17:35:12+00:00] INFO: HTTP Request Returned 404 Not Found: Cannot load node web
web [2013-02-12T17:35:12+00:00] INFO: Setting the run_list to ["role[chef-client]"] from JSON
web
web ================================================================================
web Error expanding the run_list:
web ================================================================================
web
web Unexpected Error:
web -----------------
web NoMethodError: undefined method `run_list_for' for #<Hash:0x7f94bfbcdbc0>
web
web
web [2013-02-12T17:35:12+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
web [2013-02-12T17:35:12+00:00] FATAL: NoMethodError: undefined method `run_list' for nil:NilClass
vagrant@web:~$ sudo cat /var/chef/cache/chef-stacktrace.out
Generated at Tue Feb 12 17:35:12 +0000 2013
NoMethodError: undefined method `run_list' for nil:NilClass
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/resource_reporter.rb:223:in `prepare_run_data'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/resource_reporter.rb:185:in `post_reporting_data'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/resource_reporter.rb:180:in `run_failed'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/event_dispatch/dispatcher.rb:29:in `run_failed'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/event_dispatch/dispatcher.rb:29:in `each'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/event_dispatch/dispatcher.rb:29:in `run_failed'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/client.rb:438:in `do_run'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/client.rb:176:in `run'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/application.rb:140:in `run_chef_client'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/application/client.rb:274:in `run_application'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/application/client.rb:267:in `loop'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/application/client.rb:267:in `run_application'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/../lib/chef/application.rb:72:in `run'
/var/lib/gems/1.8/gems/chef-10.20.0/bin/chef-client:26
/usr/local/bin/chef-client:19:in `load'
chef-server 10.18.2 installed with OpsCode's APT repo packages
chef-client 10.20.0 installed via knife bootstrap with --version 10.20.0 to resolve net-ssh trouble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment