Skip to content

Instantly share code, notes, and snippets.

@pkarl
Created November 29, 2012 17:50
Show Gist options
  • Save pkarl/4170731 to your computer and use it in GitHub Desktop.
Save pkarl/4170731 to your computer and use it in GitHub Desktop.
vagrant-ETIMEDOUT-stacktrace
$ ls -la ~/Cookbooks
total 0
drwxr-xr-x 5 pkarl staff 170 Nov 12 14:51 .
drwxr-xr-x+ 39 pkarl staff 1326 Nov 29 12:21 ..
drwxr-xr-x 12 pkarl staff 408 Nov 12 14:51 application_python
drwxr-xr-x 13 pkarl staff 442 Nov 12 14:50 build-essential
drwxr-xr-x 12 pkarl staff 408 Nov 12 14:50 python
$ vagrant up
[default] Importing base box 'lucid32'...
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 80 => 8080 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] Destroying VM and associated drives...
/Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:66:in `initialize': Operation timed out - connect(2) (Errno::ETIMEDOUT)
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:66:in `open'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:66:in `block in initialize'
from /Users/pkarl/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
from /Users/pkarl/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:66:in `initialize'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/net-ssh-2.2.2/lib/net/ssh.rb:186:in `new'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/net-ssh-2.2.2/lib/net/ssh.rb:186:in `start'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/communication/ssh.rb:146:in `block in connect'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/util/retryable.rb:14:in `retryable'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/communication/ssh.rb:145:in `connect'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/communication/ssh.rb:29:in `block in ready?'
from /Users/pkarl/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/timeout.rb:58:in `timeout'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/communication/ssh.rb:28:in `ready?'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/boot.rb:29:in `block in wait_for_boot'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/boot.rb:28:in `times'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/boot.rb:28:in `wait_for_boot'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/boot.rb:15:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/customize.rb:31:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/sane_defaults.rb:60:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/network.rb:62:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/clear_network_interfaces.rb:26:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/host_name.rb:10:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/share_folders.rb:20:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/clear_shared_folders.rb:13:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/nfs.rb:41:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/prune_nfs_exports.rb:15:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/provision.rb:27:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/forward_ports.rb:24:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_port_collisions.rb:42:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/env/set.rb:16:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/clear_forwarded_ports.rb:13:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/clean_machine_folder.rb:17:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_accessible.rb:18:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/general/validate.rb:13:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/general/check_virtualbox.rb:23:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/match_mac_address.rb:16:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/default_name.rb:17:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_guest_additions.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/import.rb:31:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_box.rb:28:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_accessible.rb:18:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/general/validate.rb:13:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/general/check_virtualbox.rb:23:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb:33:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/builder.rb:92:in `call'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/runner.rb:49:in `block in run'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/util/busy.rb:19:in `busy'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/action/runner.rb:49:in `run'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/vm.rb:192:in `run_action'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/vm.rb:145:in `up'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/command/up.rb:31:in `block in execute'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/command/base.rb:116:in `block in with_target_vms'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/command/base.rb:111:in `each'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/command/base.rb:111:in `with_target_vms'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/command/up.rb:24:in `execute'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/cli.rb:42:in `execute'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/lib/vagrant/environment.rb:167:in `cli'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/gems/vagrant-1.0.5/bin/vagrant:43:in `<top (required)>'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/bin/vagrant:19:in `load'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/bin/vagrant:19:in `<main>'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/pkarl/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `<main>'
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
# config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
config.vm.forward_port 80, 8080
config.vm.network :hostonly, "192.168.10.10"
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder.
config.vm.share_folder "v-projects", "/vagrant_projects", "~/Projects"
config.vm.provision :chef_solo do |chef|
# chef.recipe_url = "http://cloud.github.com/downloads/d0ugal/chef_recipes/cookbooks.tar.gz"
chef.cookbooks_path = "~/Cookbooks"
# chef.add_recipe "main"
chef.add_recipe "python"
# chef.add_recipe "postgres"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment