-
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
Error Creating VM With Vagrant 1.3.5 and VirtualBox 4.3.0 #2392
Comments
Issue #1671 may be related, but i'm not really sure about that since this issue is old and a little different |
Having the exact same issue, but with a virtual machine that I have been running for months. Downgrading Virtualbox to 4.2.18 has things running smoothly again: https://www.virtualbox.org/wiki/Download_Old_Builds_4_2 |
Experiencing the issue as well. |
Copy that! The parallel update to Vagrant 1.3.5 and VirtualBox 1.4.3 totally destroyed all vagrant boxes (they are empty/resetted). Tried several combinations of down/updgrade, I can also recommend NOT to update or go back to Vagrant 1.3.4 and VirtualBox 4.2.18. |
Thanks @panique! |
I too am running into the same issue and it seems like Vagrant is creating a new VirtualBox Host-Only Ethernet Adapter every time I run "vagrant up". I'm now up to "VirtualBox Host-Only Network 5". Shouldn't Vagrant be reusing the existing host-only adapter(s)? |
Same problem here (on Windows only) since upgrading Virtualbox to 4.3.0.
I re-packaged my basebox a couple of days ago, after an update of the the guest tools to 4.3.0. Using the same software versions combination on OS X and Ubuntu host systems with the same Vagrantfile and basebox seems to work well, so it might be a Windows-specific issue. My Vagrantfile: # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "dev"
config.package.name = "dev.box"
config.vm.box_url = "../../images/dev.box"
config.vm.network :private_network, ip: "10.10.100.100"
config.vm.hostname = "dev"
config.ssh.forward_agent = true
# Only enable NFS shares on *nix systems (Windows doesn't need).
# Ref: http://vagrantup.com/v1/docs/nfs.html
nfs_flag = (RUBY_PLATFORM =~ /linux|darwin/)
config.vm.synced_folder "../../../", "/srv/mnt", :nfs => nfs_flag
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 1536]
# Enabling share symlinks on Windows systems
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/devel", "1"]
end
config.vm.provision :puppet do |puppet|
puppet.module_path = "../../puppet/modules"
puppet.manifest_file = "default.pp"
end
end Vagrantfile has not been modified since weeks and worked on all hosts (including Windows) with the 4.2.16 version of VirtualBox. I hope someone can look at this bug :). Many regards |
Every error message in every post on the web regarding this has |
True history... But if it is the cause of the problem, i don't think the problem is with vagramt since there is no references of this string anywhere arround the vagrant code. |
There is an open issue at virtualbox tracker also about something similar to that here: There is a possible fix on the comments below, but i'm away of my other computer right now so i can't test if it work, if someone can do this test and share the results i'll appreciate, otherwise i'll do it myself as soon as i have accces to the other computer. |
I tried the suggested sollution from the comments on the oracle bugtracking forum with negative results, problem persists. I guess it's a problem of VirtualBox, so I will try to go back to the previous version and see if it works. |
I am confirm that the same thing occurs on Windows 7 Professional 64-bit |
I tried the suggested solution too without success, i even try remove unninstal both vagrant and virtual box and install all over again but the error persist. |
Finally found the solution (workarround) I did all these steps, i don't know if you need to do then all... but this way worked for me
It worked for me but in highly recommend to make a backup of every machine, box or config you think is important before start this |
I'm closing this one since i'ts not a Vagrant problem and there is a workarround already. |
@pauloelr , I also see this is a problem with virtual box, from what i can tell. It is failing to create host-only interfaces... or at least it is creating them, but returning an error before setting the needed properties. The important part of the work around is to manually make sure you have an existing host-only interface that services whatever IP address you guest needs. For example, if your Vagrantfile has: Now, when you vagrant up, Vagrant won't call Depending on when the VirtualBox fix happens, maybe vagrant could work around this by handling the error, ID the interface that was created anyway and then re-configure it as needed. |
I uninstalled and installed VirtualBox and the error went away. Didn't touch vagrant. Seems the workaround requires fewer steps than it took for @pauloelr. |
After upgrading to Marvericks, I am getting this error too. |
@millisami Thanks a ton - same situation here, that fixed it |
Still giving me issues, even on a 100% fresh machine with no existing VBox installation. Downgrading for now. |
sudoing might work on OS X, but on Windows none of the solutions worked for me, except the one proposed by @gmanfunky (removing all VirtualBox network adapters and creating a new one in the subnet of the vagrant box.) Just as a side information for anyone bumping into problems with the current VirtualBox on Win: it seems like 4.3.0 is completely unstable on Windows 8.1 64bit. I can always reproduce an annoying BSOD since upgrading. Not funny. |
Update: VirtualBox 4.3.2 is out. Oracle fixed the BSOD problem, which is good for me. I wonder if this is a Win8.1. specific problem or all people facing it have all some setting / hardware causing it. |
I Just upgrade to 4.3.2 right now and the error while creating the virtual network adapter is still there |
We could reproduce it last Friday with Windows7 Vagrant 1.3.5 |
Same here with Windows 8.1 x64 and Vagrant 1.3.5 with VirtualBox 4.3.2. |
Got same error yesterday. Windows 7 SP1 x64. Reinstalling doesn't helps. |
VirtualBox 4.3 is a massive failure on Windows and network interface issues occur on all my VMs (even non Vagrant ones). There's an open ticket on the official bugtracker that I keep checking out every second day: https://www.virtualbox.org/ticket/12182 |
Guys, it seems like they finally fixed it (I also added report to VBox forum regarding the issue): Cheers, Alex |
The test build version fixes the issue for me on Windows 7 64-bit. |
I can also confirm the issue is fixed now in VBox version 4.3.3 build 90468 on Win8.1 64bit. |
got the same issue.. deleted the folder virtualbox and deleted folders in vagrant.d folder except boxes..it fixed :) cheers, |
4.3.26有bug,换成4.3.24就正常了,覆盖安装不影响之前配置的虚拟机 |
@dianniu Why are you commenting in chinese ? Nobody is able to understand you. What is wrong with these people :/ ? |
@pauloelr your solution worked for me. Thank you. |
@pauloelr @gmanfunky I know it has been almost 2 years, but the problem still exists in VirtualBox 4.3.28 + Win 7. Your collective solution is the only thing that worked for me after several hours of searching. Thank you! |
Virtualbox 4.3.26 buggy, change to 4.3.24 is normal, reinstall does not affect the virtual machine configuration.This is the simplest solution |
Will confirm.... I also installed VirtualBox 4.3.24 after a lot of frustration. (Should 'v found the bottom of this thread sooner!) . I am also using Windows 7 as host. Just for reference or search engines, my log output was:
|
I'm having this same problem now with windows 10 |
Hey, @MichelAraujo , @pauloelr 's method still works for windows 10. You don't need to uninstall or restart anythings. Below is under VirtualBox 5.0 ,
Edit the adapter address which has the largest number to match your vagrant settings.
|
Thanks, @sensui7. This fixed the issue I was having as well. Same one as above. deleted all the unused adapaters edited the highest one and ran vagrant up. Thanks! |
FYI Vagrant is on 1.7.x now, VirtualBox on 5.x, so may I ask the poeple still having the problem: Which versions are you using ? |
Still happening Vagrant 1.7.4 and VirtualBox 5.0.0 |
I had the same problem after installing Windows 10. I first installed the latest VirtualBox 5 and Vagrant 1.7.4 which didn't help but after changing the host-only network it started working again. Thank you @pauloelr |
@ITDudeJeroen I am still having this issue on Windows 10 and can't seem to get it working by changing the host-only network. Can you share your settings? |
I ended up finding a solution for this here: https://laracasts.com/discuss/channels/general-discussion/windows-10-vagrant-virtualbox-homestead |
Uff Finally!! Thanks @sensui7 |
I can confirm @gmanfunky is right. Uninstalled virtualbox 5.0 and installed 5.0.2 on Windows 10. worked like a charm. |
Thanks @sensui7 |
Just turn off your Hyper-V and restart your computer. That worked for me |
This worked for me: Open Virtualbox and remove the VM then run vagrant up. This is an easy fix. No need to uninstall anything. |
Hi,
I'm having this error:
when running
vagrant up
on Windows 8 Host to create a new virtual machine with the following VagrantfileThe problem is solved commenting this line:
#config.vm.network :private_network, ip: "192.168.2.3"
I was executing the same Vagrantfile with Vagrant 1.3.3 and VirtualBox 4.2.x without any error, but i had to update VirtualBox due to incompatibility of the previous version with Kernell 3.11 on other non-Vagrant machines so i upgraded Vagrant to 1.3.5 either for compatibility.
I've tried already run
VirtualBox.exe restart
without successBut i really need to configure private_network on my VM, so i'm asking if there is something i can do to bypass this error even temporally?
Thanks
The text was updated successfully, but these errors were encountered: