Skip to content

Instantly share code, notes, and snippets.

@hedgehog
Created February 9, 2011 09:36
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 hedgehog/818208 to your computer and use it in GitHub Desktop.
Save hedgehog/818208 to your computer and use it in GitHub Desktop.
Vagrant chef-solo debug log
$ vagrant provision
[chefserver] Provisioning enabled with chef_solo...
[chefserver] Provisioning enabled with chef_server...
[chefserver] Running provisioner: Vagrant::Provisioners::ChefSolo...
[chefserver] Generating chef JSON and uploading...
[chefserver] Running chef-solo...
[chefserver] stdin: is not a tty
: stderr
[chefserver] [Wed, 09 Feb 2011 01:27:03 -0800] DEBUG: Building node object for
[Wed, 09 Feb 2011 01:27:03 -0800] DEBUG: Extracting run list from JSON attributes provided on command line
[Wed, 09 Feb 2011 01:27:03 -0800] INFO: Setting the run_list to ["recipe[hosts::chefserver]", "recipe[apt]", "recipe[build-essential]", "recipe[chef::bootstrap_server]"] from JSON
[Wed, 09 Feb 2011 01:27:03 -0800] DEBUG: Applying attributes from json file
[Wed, 09 Feb 2011 01:27:03 -0800] DEBUG: Platform is ubuntu version 10.04
[Wed, 09 Feb 2011 01:27:03 -0800] INFO: Starting Chef Run (Version 0.9.12)
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook openssl's library file: /tmp/vagrant-chef/cookbooks-0/openssl/libraries/secure_password.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook daemontools's providers from /tmp/vagrant-chef/cookbooks-0/daemontools/providers/service.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/daemontools/providers/service.rb into a provider named daemontools_service defined in Chef::Provider::DaemontoolsService
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef/cookbooks-0/apt/providers/repository.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/apt/providers/repository.rb into a provider named apt_repository defined in Chef::Provider::AptRepository
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook bluepill's providers from /tmp/vagrant-chef/cookbooks-0/bluepill/providers/service.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/bluepill/providers/service.rb into a provider named bluepill_service defined in Chef::Provider::BluepillService
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook daemontools's resources from /tmp/vagrant-chef/cookbooks-0/daemontools/resources/service.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/daemontools/resources/service.rb into a resource named daemontools_service defined in Chef::Resource::DaemontoolsService
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef/cookbooks-0/apt/resources/repository.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/apt/resources/repository.rb into a resource named apt_repository defined in Chef::Resource::AptRepository
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook bluepill's resources from /tmp/vagrant-chef/cookbooks-0/bluepill/resources/service.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/bluepill/resources/service.rb into a resource named bluepill_service defined in Chef::Resource::BluepillService
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook hosts-bak's attribute file /tmp/vagrant-chef/cookbooks-0/hosts-bak/attributes/hosts.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook runit's attribute file /tmp/vagrant-chef/cookbooks-0/runit/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook daemontools's attribute file /tmp/vagrant-chef/cookbooks-0/daemontools/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook couchdb's attribute file /tmp/vagrant-chef/cookbooks-0/couchdb/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook java's attribute file /tmp/vagrant-chef/cookbooks-0/java/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook hosts's attribute file /tmp/vagrant-chef/cookbooks-0/hosts/attributes/hosts.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook chef's attribute file /tmp/vagrant-chef/cookbooks-0/chef/attributes/server_proxy.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading Attribute apache2
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading Attribute chef
[chefserver] erver loading cookbook chef's attribute file /tmp/vagrant-chef/cookbooks-0/chef/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook apache2's attribute file /tmp/vagrant-chef/cookbooks-0/apache2/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook ucspi-tcp's attribute file /tmp/vagrant-chef/cookbooks-0/ucspi-tcp/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook erlang's attribute file /tmp/vagrant-chef/cookbooks-0/erlang/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: node chefserver loading cookbook bluepill's attribute file /tmp/vagrant-chef/cookbooks-0/bluepill/attributes/default.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook runit's definitions from /tmp/vagrant-chef/cookbooks-0/runit/definitions/runit_service.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook apache2's definitions from /tmp/vagrant-chef/cookbooks-0/apache2/definitions/apache_conf.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook apache2's definitions from /tmp/vagrant-chef/cookbooks-0/apache2/definitions/apache_module.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook apache2's definitions from /tmp/vagrant-chef/cookbooks-0/apache2/definitions/web_app.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading cookbook apache2's definitions from /tmp/vagrant-chef/cookbooks-0/apache2/definitions/apache_site.rb
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading Recipe hosts::chefserver via include_recipe
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Found recipe chefserver in cookbook hosts
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Loading Recipe apt via include_recipe
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Found recipe default in cookbook apt
[Wed, 09 Feb 2011 01:27:04 -0800] DEBUG: Executing apt-get update
: stdout
[chefserver] [Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: ---- Begin output of apt-get update ----
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: STDOUT: Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://us.archive.ubuntu.com lucid Release.gpg
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Hit http://security.ubuntu.com lucid-security Release
Hit http://us.archive.ubuntu.com lucid Release
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://us.archive.ubuntu.com lucid-updates Release
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Reading package lists...
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: STDERR:
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: ---- End output of apt-get update ----
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Ran apt-get update returned 0
[Wed, 09 Feb 2011 01:27:07 -0800] INFO: Ran execute[apt-get update] successfully
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe build-essential via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe default in cookbook build-essential
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe chef::bootstrap_server via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe bootstrap_server in cookbook chef
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe chef::bootstrap_client via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe bootstrap_client in cookbook chef
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe chef::client_service via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe client_service in cookbook chef
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Setting directory[/var/log/chef] to the state of the prior directory[/var/log/chef]
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe runit via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe default in cookbook runit
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: I am not loading runit, because I have already seen it.
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe couchdb via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe default in cookbook couchdb
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe erlang via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe default in cookbook erlang
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe java via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe default in cookbook java
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Loading Recipe java::openjdk via include_recipe
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Found recipe openjdk in cookbook java
[Wed, 09 Feb 2011 01:27:07 -0800] ERROR: Running exception handlers
[chefserver] /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node/attribute.rb:428:in `method_missing': stderr
[chefserver] : : stderr
[chefserver] Attribute hotspot is not defined!: stderr
[chefserver] (: stderr
[chefserver] ArgumentError: stderr
[chefserver] )
: stderr
[chefserver] from /tmp/vagrant-chef/cookbooks-0/java/recipes/default.rb:55:in `from_file'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in `load_recipe'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
: stderr
[chefserver] from /tmp/vagrant-chef/cookbooks-0/chef/recipes/bootstrap_server.rb:46:in `from_file'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in `load_recipe'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
: stderr
[chefserver] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:94:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:55:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:155:in `new'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:155:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-solo:25
from /usr/bin/chef-solo:19:in `load'
from /usr/bin/chef-solo:19
: stderr
[chefserver] 01:27:07 -0800] ERROR: Exception handlers complete
[Wed, 09 Feb 2011 01:27:07 -0800] DEBUG: Re-raising exception: ArgumentError - Attribute hotspot is not defined!
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node/attribute.rb:428:in `method_missing'
/tmp/vagrant-chef/cookbooks-0/java/recipes/default.rb:55:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/tmp/vagrant-chef/cookbooks-0/chef/recipes/bootstrap_server.rb:46:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:94:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:55:in `initialize'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:155:in `new'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:155:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-solo:25
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19
: stdout
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-chef
chef-solo -c solo.rb -j dna.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment