You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NetworkManager.service loaded active running Network Manager
Stderr from the command:
usage: ifdown
Usage: ifup
Expected behavior
The vm should successfully start and vagrant should bridge the vm's public adapter to the host adapter 'em1'
Actual behavior
Vagrant stops provisioning the vm because of a ifdown/ifup command error
Steps to reproduce
Use Vagrantfile on a fresh CentOS 7.3 host and vagrant 1.9.5
From the error output it seems that vagrant is not picking up that the host's network adapter is 'em1'?
I am guessing the /sbin/ifdown '' command should be /sbin/ifdown 'em1'
as well as the tmp file: '/tmp/vagrant-network-entry--1496643356-0' should be '/tmp/vagrant-network-entry-em1-1496643356-0'
edit: I even tried with
virtualbox 5.1.22r115126 + vagrant 1.8.7
virtualbox 5.0.40r115130 + vagrant 1.9.5
virtualbox 5.0.40r115130 + vagrant 1.8.7
And I get the same problem.
edit: I just tried it with:
virtualbox 5.1.4r110228 + vagrant 1.8.5
and my vm provisions and comes up now.
Does anyone have insight to why the latest versions do not work?
edit: I just updated vagrant to 1.9.5 (with virtualbox 5.1.4r110228) and I am getting the same problem. again.
The text was updated successfully, but these errors were encountered:
Found the commit that resulted in this regression. Installing vagrant 1.8.6 and removing the sorting introduced by ce3329e allows the box to succesfully provision network interfaces.
For reference, in the guest running ifconfig gives:
enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
...
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
...
p2p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
...
uname -a:
Linux localhost.localdomain 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The sorting algorithm needs to work for these naming conventions.
Vagrant version
Vagrant 1.9.5
Virtualbox version 5.1.22r115126
Host operating system
Linux 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.3.1611 (Core)
Guest operating system
fedora-20
Vagrantfile
Debug output
https://gist.github.com/jmarais/4a12c47f3446ed9c29e45f72e63b1b68
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ifdown ''
mv -f '/tmp/vagrant-network-entry--1496643356-0' '/etc/sysconfig/network-scripts/ifcfg-'
(test -f /etc/init.d/NetworkManager && /etc/init.d/NetworkManager restart) || ((systemctl | grep NetworkManager.service) && systemctl restart NetworkManager)
/sbin/ifup ''
Stdout from the command:
NetworkManager.service loaded active running Network Manager
Stderr from the command:
usage: ifdown
Usage: ifup
Expected behavior
The vm should successfully start and vagrant should bridge the vm's public adapter to the host adapter 'em1'
Actual behavior
Vagrant stops provisioning the vm because of a ifdown/ifup command error
Steps to reproduce
From the error output it seems that vagrant is not picking up that the host's network adapter is 'em1'?
I am guessing the /sbin/ifdown '' command should be /sbin/ifdown 'em1'
as well as the tmp file: '/tmp/vagrant-network-entry--1496643356-0' should be '/tmp/vagrant-network-entry-em1-1496643356-0'
edit: I even tried with
virtualbox 5.1.22r115126 + vagrant 1.8.7
virtualbox 5.0.40r115130 + vagrant 1.9.5
virtualbox 5.0.40r115130 + vagrant 1.8.7
And I get the same problem.
edit: I just tried it with:
virtualbox 5.1.4r110228 + vagrant 1.8.5
and my vm provisions and comes up now.
Does anyone have insight to why the latest versions do not work?
edit: I just updated vagrant to 1.9.5 (with virtualbox 5.1.4r110228) and I am getting the same problem. again.
The text was updated successfully, but these errors were encountered: