Skip to content

Instantly share code, notes, and snippets.

@anentropic
Created August 28, 2012 11:07
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 anentropic/3497275 to your computer and use it in GitHub Desktop.
Save anentropic/3497275 to your computer and use it in GitHub Desktop.
Vagrant crashes after some kind of timeout(?) installing python packages via pip, from a Chef recipe
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
/usr/lib/ruby/vendor_ruby/net/ssh/ruby_compat.rb:33:in `select': closed stream (IOError)
from /usr/lib/ruby/vendor_ruby/net/ssh/ruby_compat.rb:33:in `io_select'
from /usr/lib/ruby/vendor_ruby/net/ssh/ruby_compat.rb:32:in `synchronize'
from /usr/lib/ruby/vendor_ruby/net/ssh/ruby_compat.rb:32:in `io_select'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/packet_stream.rb:73:in `available_for_read?'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/packet_stream.rb:85:in `next_packet'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:170:in `poll_message'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:165:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:165:in `poll_message'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:451:in `dispatch_incoming_packets'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:213:in `preprocess'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:197:in `process'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:161:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:161:in `loop_forever'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:161:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:269:in `wait'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:206:in `shell_execute'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:53:in `execute'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:110:in `connect'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:52:in `execute'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:72:in `sudo'
from /usr/lib/ruby/vendor_ruby/vagrant/provisioners/chef_solo.rb:184:in `run_chef_solo'
from /usr/lib/ruby/vendor_ruby/vagrant/provisioners/chef_solo.rb:177:in `times'
from /usr/lib/ruby/vendor_ruby/vagrant/provisioners/chef_solo.rb:177:in `run_chef_solo'
from /usr/lib/ruby/vendor_ruby/vagrant/provisioners/chef_solo.rb:91:in `provision!'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/provision.rb:36:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/provision.rb:33:in `each'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/provision.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/forward_ports.rb:24:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_port_collisions.rb:38:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/env/set.rb:16:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/clear_forwarded_ports.rb:13:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/clean_machine_folder.rb:17:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_accessible.rb:18:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/general/validate.rb:13:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/general/check_virtualbox.rb:23:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/match_mac_address.rb:16:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/default_name.rb:17:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_guest_additions.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/import.rb:31:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_box.rb:28:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_accessible.rb:18:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/general/validate.rb:13:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/general/check_virtualbox.rb:23:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:92:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:49:in `run'
from /usr/lib/ruby/vendor_ruby/vagrant/util/busy.rb:19:in `busy'
from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:49:in `run'
from /usr/lib/ruby/vendor_ruby/vagrant/vm.rb:192:in `run_action'
from /usr/lib/ruby/vendor_ruby/vagrant/vm.rb:145:in `up'
from /usr/lib/ruby/vendor_ruby/vagrant/command/up.rb:31:in `execute'
from /usr/lib/ruby/vendor_ruby/vagrant/command/base.rb:106:in `with_target_vms'
from /usr/lib/ruby/vendor_ruby/vagrant/command/base.rb:101:in `each'
from /usr/lib/ruby/vendor_ruby/vagrant/command/base.rb:101:in `with_target_vms'
from /usr/lib/ruby/vendor_ruby/vagrant/command/up.rb:24:in `execute'
from /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:38:in `execute'
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:167:in `cli'
from /usr/bin/vagrant:43
@anentropic
Copy link
Author

and it looks like it's this issue:
hashicorp/vagrant#516

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