You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to start a stock (generated by vagrant) Vagrantfile with ubuntu 14.04 machines from chef/ubuntu-14.04 and/or ubuntu cloud images and apparently vagrant is forcing shutdown before connecting to the vm and is reporting failure to require "net/ssh"
f@Omoikane:~/tmp/vms$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu1404'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vms_default_1428708392362_68895
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/communicator.rb:8:in `require': cannot load such file -- net/ssh (LoadError)
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/communicator.rb:8:in `<top (required)>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/plugin.rb:14:in `require'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/plugin.rb:14:in `block in <class:Plugin>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/registry.rb:27:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/registry.rb:27:in `get'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:235:in `communicate'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/wait_for_communicator.rb:16:in `block in call'
Thanks for the great debugging. Do you have any suggestions of how Vagrant might better detect this? Old ".vagrant.d" directories certainly do cause problems but there isn't a good sentinel file to detect when this is the case. I'm not sure if we can actually error here. :(
I am trying to start a stock (generated by vagrant) Vagrantfile with ubuntu 14.04 machines from chef/ubuntu-14.04 and/or ubuntu cloud images and apparently vagrant is forcing shutdown before connecting to the vm and is reporting failure to require "net/ssh"
Versions are
Host OS:
Mac OS X 10.10.3
Here is sample output without debug flag
Here is a link to the full vagrant output with --debug on:
https://www.dropbox.com/s/um106bi3zvp9z4g/vagrant.log
Virtualbox works correctly if one installs a machine manually.
For the sake of completeness here is the installed plugin list (after removing everything, nothing changed)
The text was updated successfully, but these errors were encountered: