-
Notifications
You must be signed in to change notification settings - Fork 158
Troubleshooting
I received a strange error suddenly while trying to run vagrant up goku
. Here is the error message.
A host only network interface you're attempting to configure via DHCP
already has a conflicting host only adapter with DHCP enabled. The
DHCP on this adapter is incompatible with the DHCP settings. Two
host only network interfaces are not allowed to overlap, and each
host only network interface can have only one DHCP server. Please
reconfigure your host only network or remove the virtual machine
using the other host only network.
The solution proposed here worked perfectly to resolve it.
https://github.com/hashicorp/vagrant/issues/3083
If you are bringing the VMs up 1 at a time which is recommended then you will run in to this error each time you create a new VM. Simply run this command replacing HostInterfaceNetworking-vboxnet1
with whatever you see when you run VBoxManage list dhcpservers
and you're good to go.
VBoxManage dhcpserver remove --network HostInterfaceNetworking-vboxnet1
Honestly no idea what is causing this. It happens randomly after vagrant up
successed several times. Google search isn't very helpful because the code 0x80070057 is used for multiple issues including no free disk space and VMs with duplicate names. Neither appears to be the case here.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "/Users/royce/.vagrant.d/boxes/royce-VAGRANTSLASH-capsulecorp-winsrv/0.0.5-alpha/virtualbox/box.ovf", "--vsys", "0", "--vmname", "test_project01_gohan_1584476435659_55064_1584717169206_34169", "--vsys", "0", "--unit", "12", "--disk", "/Users/royce/VirtualBox VMs/test_project01_gohan_1584476435659_55064_1584717169206_34169/box-disk001.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/royce/.vagrant.d/boxes/royce-VAGRANTSLASH-capsulecorp-winsrv/0.0.5-alpha/virtualbox/box.ovf...
OK.
0%...
Progress state: NS_ERROR_INVALID_ARG
VBoxManage: error: Appliance import failed
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg *)" at line 1118 of file VBoxManageAppliance.cpp
The only thing that appears to resolve the issue is to rm -rf ~/.vagrant.d/
Unfortunately this will require you to re-download the VMs from app.vagrantup.com