vagrant deploy fails due to random VM shutdowns

Bug #1070881 reported by Paul Sokolovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Deployment Tool
Won't Fix
Undecided
Unassigned

Bug Description

Getting over lp:1070855, it failed with:

Got celery 2.5.5.
Getting distribution for 'versiontools>=1.8'.
Got versiontools 1.9.1.
Getting distribution for 'pexpect==2.4'.
zip_safe flag not set; analyzing archive contents...
Got pexpect 2.4.
Getting distribution for 'linaro-dashboard-bundle'.

Installed /tmp/easy_install-_NgwLM/linaro-dashboard-bundle-1.7.3/versiontools-1.9.1-py2.7.egg
Got linaro-dashboard-bundle 1.7.3.
Getting distribution for 'twisted==12.1.0'.
While:
  Installing server.
  Getting distribution for 'twisted==12.1.0'.
[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/shell.rb:82:in `provision!'
 from /usr/lib/ruby/vendor_ruby/vagrant/provisioners/shell.rb:55:in `with_script_file'
 from /usr/lib/ruby/vendor_ruby/vagrant/provisioners/shell.rb:77: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

Related branches

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

2nd try fails at exactly the same place:

Installed /tmp/easy_install-0qtWgQ/linaro-dashboard-bundle-1.7.3/versiontools-1.9.1-py2.7.egg
Got linaro-dashboard-bundle 1.7.3.
Getting distribution for 'twisted==12.1.0'.
While:
  Installing server.
  Getting distribution for 'twisted==12.1.0'.
[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'

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Switching network adapter to another type as described here: https://github.com/mitchellh/vagrant/issues/516#issuecomment-3998630 helped, "vagrant up" was ale to complete and LAVA was up at http://localhost:8080/ .

summary: - vagrant deploy fails due to random(?) VM shutdown
+ vagrant deploy fails due to random VM shutdowns
Changed in lava-deployment-tool:
status: New → In Progress
Changed in lava-deployment-tool:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.