Skip to content

Instantly share code, notes, and snippets.

@hedgehog
Created February 9, 2011 08:54
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/818165 to your computer and use it in GitHub Desktop.
Save hedgehog/818165 to your computer and use it in GitHub Desktop.
Chef-solo: Attribute hotspot is not defined
$ 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 00:49:15 -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 00:49:15 -0800] INFO: Starting Chef Run (Version 0.9.12)
: stdout
[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'
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] [Wed, 09 Feb 2011 00:49:19 -0800] INFO: Ran execute[apt-get update] successfully
[Wed, 09 Feb 2011 00:49:19 -0800] ERROR: Running exception handlers
[Wed, 09 Feb 2011 00:49:19 -0800] ERROR: Exception handlers complete
: 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