Created
March 14, 2011 20:03
-
-
Save maacl/869761 to your computer and use it in GitHub Desktop.
Vagrant boom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mac@spectre:~/projects/devbox$ vagrant reload | |
[default] Fixed port collision 'ssh'. Now on port 2200. | |
[default] Provisioning enabled with chef_solo... | |
[default] Running any VM customizations... | |
[default] Clearing any previously set forwarded ports... | |
[default] Forwarding ports... | |
[default] -- ssh: 22 => 2200 (adapter 1) | |
[default] Cleaning previously set shared folders... | |
[default] Creating shared folders metadata... | |
[default] Booting VM... | |
[default] Waiting for VM to boot. This can take a few minutes. | |
[default] VM booted and ready for use! | |
[default] Mounting shared folders... | |
[default] -- v-csc-0: /tmp/vagrant-chef/cookbooks-0 | |
[default] -- v-root: /vagrant | |
[default] Running provisioner: Vagrant::Provisioners::ChefSolo... | |
[default] Generating chef JSON and uploading... | |
[default] Running chef-solo... | |
[default] /tmp/vagrant-chef/cookbooks-0/tomcat6/attributes/default.rb:47:in `from_file': stderr | |
[default] : : stderr | |
[default] undefined method `[]' for nil:NilClass: stderr | |
[default] (: stderr | |
[default] NoMethodError: stderr | |
[default] ) | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node.rb:578:in `load_attributes' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node.rb:576:in `each' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node.rb:576:in `load_attributes' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node.rb:575:in `each' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/node.rb:575:in `load_attributes' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:74:in `load' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:55:in `initialize' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:155:in `new' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:155:in `run' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in `run_application' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `loop' | |
: stderr | |
[default] [Mon, 14 Mar 2011 12:59:08 -0700] INFO: Setting the run_list to ["recipe[vagrant_main]"] from JSON | |
[Mon, 14 Mar 2011 12:59:08 -0700] INFO: Starting Chef Run (Version 0.9.12) | |
[Mon, 14 Mar 2011 12:59:11 -0700] WARN: Missing gem 'mysql' | |
[Mon, 14 Mar 2011 12:59:11 -0700] WARN: Missing gem 'right_aws' | |
[Mon, 14 Mar 2011 12:59:11 -0700] ERROR: Running exception handlers | |
[Mon, 14 Mar 2011 12:59:11 -0700] ERROR: Exception handlers complete | |
: stdout | |
[default] 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 | |
[default] 'unknown': unknown terminal type. | |
: stderr | |
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 | |
The output of the command prior to failing is outputted below: | |
[no output] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.box = "lucid32" | |
config.vm.provision :chef_solo do |chef| | |
chef.cookbooks_path = "cookbooks" | |
chef.add_recipe("vagrant_main") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment