Hello, If you test hashicorp/precise32 and that works, then I would be tempted to say it could be something in the box you are using.
hashicorp/* centos/* bento/* ubuntu/* Are the ones I know they work since I test them a lot. Other than that, there is no QA of the boxes in Atlas, so you need to test. Thanks Alvaro. On Thu, Feb 18, 2016 at 7:11 AM, 'Adam Turner' via Vagrant < [email protected]> wrote: > I am new to this so please forgive me if I get any terminology wrong. > > I have been trying to set up a virtual machine in Windows 10 using Vagrant > and VirtualBox. After initializing, when I run vagrant up I just get the > following: > > Bringing machine 'default' up with 'virtualbox' provider... > ==> default: Importing base box 'hashicorp/precise32'... > ==> default: Matching MAC address for NAT networking... > ==> default: Checking if box 'hashicorp/precise32' is up to date... > ==> default: Setting the name of the VM: > VirtualMachineTest_default_1455731233974_75780 > ==> default: Fixed port collision for 22 => 2222. Now on port 2200. > ==> default: Clearing any previously set network interfaces... > ==> default: Preparing network interfaces based on configuration... > default: Adapter 1: nat > ==> default: Forwarding ports... > default: 22 (guest) => 2200 (host) (adapter 1) > ==> default: Booting VM... > ==> default: Waiting for machine to boot. This may take a few minutes... > default: SSH address: 127.0.0.1:2200 > default: SSH username: vagrant > default: SSH auth method: private key > Timed out while waiting for the machine to boot. This means that > Vagrant was unable to communicate with the guest machine within > the configured ("config.vm.boot_timeout" value) time period. > > If you look above, you should be able to see the error(s) that > Vagrant had when attempting to connect to the machine. These errors > are usually good hints as to what may be wrong. > > If you're using a custom box, make sure that networking is properly > working and you're able to connect to the machine. It is a common > problem that networking isn't setup properly in these boxes. > Verify that authentication configurations are also setup properly, > as well. > > If the box appears to be booting properly, you may want to increase > the timeout ("config.vm.boot_timeout") value. > > > > The VM seems to have started in VirtualBox and is awaiting a login. If I > go through VirtualBox, I can then log in and it seems to work. If I try > vagrant > ssh nothing happens. > > I have tried disabling my firewall and antivirus. I have also tried > uninstalling and reinstalling latest and older versions of both VirtualBox > and Vagrant. On older versions of Vagrant I get additional messages saying > the ssh connection was refused. I have also tried deleting the > insecure_private_key > file, tried using a different box among many other things that I have > found on various websites but to no avail. > > When I use vagrant halt I get: > > ==> default: Attempting graceful shutdown of VM... > default: Guest communication could not be established! This is usually > because > default: SSH is not running, the authentication information was > changed, > default: or some other networking issue. Vagrant will force halt, if > default: capable. > ==> default: Forcing shutdown of VM... > > > If I run with info level logging, i get lots of this: > > INFO ssh: Attempting SSH connection... > INFO ssh: Attempting to connect to SSH... > INFO ssh: - Host: 127.0.0.1 > INFO ssh: - Port: 2200 > INFO ssh: - Username: vagrant > INFO ssh: - Password? false > INFO ssh: - Key Path: ["C:/Users/Egg/.vagrant.d/insecure_private_key"] > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error > occurred in the underlying SSH library that Vagrant uses. > The error message is shown below. In many cases, errors from this > library are caused by ssh-agent issues. Try disabling your SSH > agent or removing some keys and try again. > > If the problem persists, please report a bug to the net-ssh project. > > Net::SSH::ConnectionTimeout> > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > INFO subprocess: Starting process: ["C:/Program > Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", > "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"] > INFO subprocess: Command not in installer, restoring original > environment... > > Any help would be appreciated! > > Thanks > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/e7139f57-b0c6-4b15-b2ee-5982b4be7e8e%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/e7139f57-b0c6-4b15-b2ee-5982b4be7e8e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eybEz8xVJAVgAnaJ-_pk1NTMZCYXEsRSuMU2K1fudyR6A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
