-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vagrant ssh auth error : Timed out while waiting for the machine to boot #7176
Comments
Hi @jeenhyung Thank you for opening an issue, and I am sorry this is causing you problems. There are a number of external variables in your Vagrantfile, and I tried to reduce them. I am unable to reproduce this using the following Vagrantfile: $update_channel = "alpha"
$image_version = "current"
Vagrant.configure("2") do |config|
config.ssh.insert_key = false
config.ssh.username = "core"
config.vm.box = "coreos-%s" % $update_channel
config.vm.network :private_network, ip: "172.17.8.100"
config.vm.hostname = vm_name
config.vm.provider :virtualbox do |v, o|
o.vm.box_url = "https://storage.googleapis.com/%s.release.core-os.net/amd64-usr/%s/coreos_production_vagrant.json" % [$update_channel, $image_version]
# On VirtualBox, we don't have guest additions or a functional vboxsf
# in CoreOS, so tell Vagrant that so it can be smarter.
v.check_guest_additions = false
v.functional_vboxsf = false
# Change network card to PCnet-FAST III
# For NAT adapter
v.customize ["modifyvm", :id, "--nictype1", "Am79C973"]
# For host-only adapter
v.customize ["modifyvm", :id, "--nictype2", "Am79C973"]
end
["vmware_fusion", "vmware_workstation"].each do |vmware|
config.vm.provider vmware do |v, o|
o.vm.box_url = "https://storage.googleapis.com/%s.release.core-os.net/amd64-usr/%s/coreos_production_vagrant_vmware_fusion.json" % [$update_channel, $image_version]
end
end
end Could you please give it a try? If you do not see the issue reproduce, then there is something in your configuration (perhaps in the config file or perhaps a vm-level configuration) that is causing this, not Vagrant. If the issue persists, please put the debug log in a github gist and link here. Thanks! 😄 |
Hi there, I am going to close this due to lack of response. If this is still occurring, please open a new issue and include the answers to the queries above as well as complete the new issue template that will appear when you submit an issue. Thanks! 😄 |
Hi Guys, I am having the exact same issue.
Please find attached my vagrant file. I have reinstalled vagrant and virtual box but still no charm Please rename Vagrantfile.txt to Vagrantfile Many Thanks in advance. |
Any luck figuring this out? |
Having the same issue trying to start a Windows 2012 R2 guest on Windows 7. I'm using vagrant 1.8.6 and VMWare workstation Pro 12 (12.5.0 build-4352439). Console output |
Restart your computer and keep hitting f10 key. This will take you into the system BIOS. There you can check if your Hyper-Virtualization is disabled. If so, change it to Enabled, save and continue to restart your PC. This is what I did to make it work and it fixed the problem in 2 minutes. Let me know if it worked. |
I've looked deeper into this and I think I've found what's causing my issues. Don't know if it's relevant to the original poster but may help others out there. Running the vms on virtualbox is not a problem and everything starts fine. It's just VMWare that the issue is with. The only physical difference between VB and VMw is that VM uses vmdk and VB vdi extensions. This lead me to examine the vmware.log file a little closer and tail it (or get-content in this case). There is a stage where the console reports Starting the VMware VM... and stops for about a minute and a half before continuing with what appears to be buffered responses from vagrant. The line it stops at is : After the pause the following lines state : 2016-10-31T15:37:37.861Z| vmx| I125: DISK: Opening disks took 84003 ms. It's taking vmware 84 seconds to open the disks. I came across this article and I monitored the processes. Our development machines have sophos installed and sure enough the sophos spiked and is causing vagrant not to get access to the disk until it's finished scanning. Adding vmdk to the whitelist fixed the problem and now disks are starting in under 500ms and it's starting correctly |
I have the same issue every time I shut down my machine without saving a state (without using vagrant halt command). In this case I go to VirtualBox UI, find my machine, right click on it and choose Strat->Headless start. Then the machine is running I save its state, but don't stop it completely. After that I get back to terminal/console and 'vagrant up' normally. Sometimes I need to start the machine from the UI several times. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I have a server with Centos 7(VPS hosting), Virtualbox 5.0 and Vagrant 1.8.1.
I'm trying to run "vagrant up".
I'd like to deploy coreos with vagrant.
I get this message:
my Vagrant file :
How can I fix it? Thanks.
The text was updated successfully, but these errors were encountered: