Skip to content

Instantly share code, notes, and snippets.

@webframp
Created January 28, 2013 23:24
Show Gist options
  • Save webframp/4660237 to your computer and use it in GitHub Desktop.
Save webframp/4660237 to your computer and use it in GitHub Desktop.
[chef_server] VM already created. Booting if it's not already running...
[test_server] Importing base box 'opscode_ubuntu-12.04'...
[test_server] Matching MAC address for NAT networking...
[test_server] Clearing any previously set forwarded ports...
[test_server] Fixed port collision for 22 => 2222. Now on port 2200.
[test_server] Forwarding ports...
[test_server] -- 22 => 2200 (adapter 1)
[Berkshelf] uploading cookbooks to 'https://chef-server-berkshelf'
[Berkshelf] Installing chef-server (2.0.0) from git: 'git://github.com/opscode-cookbooks/chef-server.git' with branch: 'f5f9600c07533593de29a0d00eebdcf990194609'
[Berkshelf] Uploading chef-server (2.0.0) to: 'https://chef-server-berkshelf'
[test_server] Destroying VM and associated drives...
/usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent/ssl_reuse.rb:29:in `initialize': getaddrinfo: nodename nor servname provided, or not known
(Faraday::Error::ConnectionFailed)
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent/ssl_reuse.rb:29:in `open'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent/ssl_reuse.rb:29:in `block in connect'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent/ssl_reuse.rb:29:in `connect'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/net/http.rb:750:in `start'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent.rb:628:in `start'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent.rb:570:in `connection_for'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.8/lib/net/http/persistent.rb:926:in `request'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/faraday-0.8.4/lib/faraday/adapter/net_http_persistent.rb:17:in `perform_request'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/faraday-0.8.4/lib/faraday/adapter/net_http.rb:37:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/faraday-0.8.4/lib/faraday/response.rb:8:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/faraday-0.8.4/lib/faraday/response.rb:8:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/ridley-0.6.3/lib/ridley/middleware/chef_auth.rb:31:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/faraday-0.8.4/lib/faraday/connection.rb:226:in `run_request'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/faraday-0.8.4/lib/faraday/connection.rb:99:in `post'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/ridley-0.6.3/lib/ridley/resources/sandbox.rb:17:in `create'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/ridley-0.6.3/lib/ridley/chain_link.rb:22:in `method_missing'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/uploader.rb:56:in `upload'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/berksfile.rb:489:in `block in upload'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/berksfile.rb:487:in `each'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/berksfile.rb:487:in `upload'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/vagrant/action/upload.rb:28:in `block in upload'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/vagrant/action/upload.rb:26:in `each'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/vagrant/action/upload.rb:26:in `upload'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/vagrant/action/upload.rb:15:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/vagrant/action/set_ui.rb:12:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/builder.rb:92:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:83:in `block in finalize_action'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:84:in `block in finalize_action'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/forward_ports.rb:24:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/check_port_collisions.rb:42:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/env/set.rb:16:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/clear_forwarded_ports.rb:13:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/clean_machine_folder.rb:17:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/check_accessible.rb:18:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/general/validate.rb:13:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/berkshelf-1.1.2/lib/berkshelf/vagrant/action/validate.rb:25:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/general/check_virtualbox.rb:23:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/match_mac_address.rb:16:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/default_name.rb:17:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/check_guest_additions.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/import.rb:31:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/check_box.rb:28:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/vm/check_accessible.rb:18:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/general/validate.rb:13:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/general/check_virtualbox.rb:23:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/warden.rb:33:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/builder.rb:92:in `call'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/runner.rb:49:in `block in run'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/action/runner.rb:49:in `run'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/vm.rb:192:in `run_action'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/vm.rb:145:in `up'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/command/up.rb:31:in `block in execute'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/command/base.rb:116:in `block in with_target_vms'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/command/base.rb:111:in `each'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/command/base.rb:111:in `with_target_vms'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/command/up.rb:24:in `execute'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/cli.rb:42:in `execute'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/environment.rb:167:in `cli'
from /usr/local/opt/rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/bin/vagrant:43:in `<top (required)>'
from /usr/local/opt/rbenv/versions/1.9.3-p374/bin/vagrant:23:in `load'
from /usr/local/opt/rbenv/versions/1.9.3-p374/bin/vagrant:23:in `<main>'
@spuder
Copy link

spuder commented Jun 24, 2015

Did you figure this out? I'm encountering the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment