-
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
Network Error after upgrade to 1.8.7 #8024
Comments
I hit the same thing now. Here's a better formatted error log. Host machine is Ubuntu 16.04 running a Centos7 VM. Vagrant is 1.8.7
|
I'm getting the same issue with CentOS 7.2 guests on Vagrant 1.8.7, OSX Sierra |
This "fixed" the issue for me, so something is wrong in the new commits to v1.8.7.
|
Same issue with Vagrant 1.8.7 on Mac OS X 10.10.5 |
Hi, could be something in guest cap. I did try with |
I hit the same error with CentOS 7 guests on Vagrant 1.8.7, Ubuntu 14.04. Vagrant 1.8.6 is ok. |
I have a similar issue. My box runs multiple services and in our case it seems to affect the ones where docker has setup NAT rules to all interfaces. Starting the box on Vagrant 1.8.7 Host is up (0.0027s latency). Starting the box on Vagrant 1.8.6 Attaching the configuring and enabling interfaces logs for bot versions |
Same issue with Vagrant 1.9.0 and CentOS 7 box (
(Worked in 1.8.6) |
@geerlingguy can you reduce down your Vagrantfile to a minimal representation to reproduce the error you're getting there. I'm using the Vagrantfile below and am not having an issues bringing the instance up. Just not sure if I'm missing something that would be set in your Vagrantfile that would allow me to reproduce. Thanks! Vagrant.configure('2') do |config|
config.vm.box = 'geerlingguy/centos7'
config.vm.network :private_network, ip: '192.168.99.2'
config.vm.provider 'virtualbox' do |v|
v.name = 'spox-node'
v.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
v.customize ['modifyvm', :id, '--ioapic', 'on']
end
config.vm.hostname = 'spox-node'
end |
@chrisroberts - Will do! (You were testing with 1.9.0, I presume? That's the first version I noticed this error, I hadn't tested in 1.8.7). |
@geerlingguy I'm running off |
@chrisroberts - Well... now that I downloaded/installed 1.8.6, then re-upgraded to 1.9.0, I can't reproduce the error at all anymore. Something in the install/downgrade/install process must've knocked things straight? I did have to do a
|
@geerlingguy Weird, but good it's sorted! Thanks for confirming. @nrganeshbabu Can you see if the problematic behavior you're experiencing is still showing up in the 1.9.0 release? Thanks! |
I found the issue on my boxes. I am running boxes that do not have Network Manager installed. With commit 67f3c8b network manager became required. I think we need to revert that comment and find another solution. Many boxes built with no GUI will not have Network Manager installed. |
I am experiencing this problem as well. After upgrading from 1.8.5 to 1.9.1, I can no longer spin up any VMs using the boxes I was originally building on (bento/centos-6.8) because those boxes were not built with the NetworkManager package installed. Specifically, it fails when attempting to run nmcli to force network manager to reload configs - nmcli is not present in the machine. |
Hi there, It looks like this has been resolved within a previously shipped version of Vagrant so I am now closing this issue. If the original issue was not fully resolved, please reopen this issue or create a new one. Cheers! |
This issues does not look fixed, looking at the current code. I can test if you would like. |
Just hit this upgrading Virtual Box to 5.1.8 and vagrant to 1.9.3
|
Oh boy. What world of pain have I opened now. Trying to downgrade to 1.8.1 and can't install any plugins
|
Downgraded to 1.8.6 and "resolved" both issues. |
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. |
Vagrant version
Vagrant 1.8.7
Host operating system
Windows 10 Pro version 1511
Guest operating system
centos-70-x86_64
Vagrantfile
Please note, if you are using Homestead or a different Vagrantfile format, we
may be unable to assist with your issue. Try to reproduce the issue using a
vanilla Vagrantfile first.
Debug output
==> master: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
Down the interface before munging the config file. This might
fail if the interface is not actually set up yet so ignore
errors.
/sbin/ifdown 'enp0s8'
Move new config into place
mv -f '/tmp/vagrant-network-entry-enp0s8-1479653162-0' '/etc/sysconfig/network-scripts/ifcfg-enp0s8'
attempt to force network manager to reload configurations
nmcli c reload || true
Restart network
service network restart
Stdout from the command:
Restarting network (via systemctl): [FEHLGESCHLAGEN]
Stderr from the command:
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
C:\Users\gb\centos-7.0-x86_64>
Expected behavior
Should create the three VMs. It was working fine on Vagrant version 1.8.6
Actual behavior
After upgrade to Vagrant 1.8.7 the above error appears.
Steps to reproduce
References
The text was updated successfully, but these errors were encountered: