-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Remove hack used to disable Predictable Network Interface naming #2
Comments
Note: it seems VirtualBox 5.1.2 and Vagrant 1.8.5 with a freshly-built Packer box (not just this one, but all my boxes, with the exact same config that was working with VirtualBox 5.0.24) is resulting in the host-only network/private network interface not being brought up. Looking at debug level output, it seems the hostonly adapter is brought up correctly:
The output from the
|
During boot, if I inspect the VirtualBox console using
Pictorially: So something's not getting configured inside the VM correctly. Glancing at the VM settings inside VirtualBox's GUI, everything seems correct with the 2nd network interface/adapter: Inside the VM:
I'm going to bring up a working 16.04 VM with my latest (old) published release and see if I can spot any differences. |
I'm going to try to revert the hack from #1 and see if just doing that works with Vagrant 1.8.5... maybe the manual network changes were causing an issue (but it seems they shouldn't be an issue, since the same config worked and still works in the previous build for the same box. |
Removing the hack seems to work-ish... but it still doesn't allow SSH to connect. Tried running I'm wondering if hashicorp/vagrant#6683 is still not fully resolved :-/ But the weirdest thing is, why is the older box that was generated with VirtualBox 5.0.24 working fine in 5.1.2, but a box with the exact same config generated in 5.1.2 isn't? I'm also going to switch back to Ubuntu 16.04.0 (I switched to .1) and see if that helps. But it seems like it won't—Vagrant isn't happy connecting to any of my new boxes, CentOS 6/7, Ubuntu 12/14/16, if I build them in 5.1.2. |
Just stumbled over the same issue myself (networking broken after updating to Vagrant 1.8.5 and VirtualBox 5.1). I'll downgrade and see what happens. |
@Jalle19 - :( Yeah, after spending about 4 hours on this a couple weeks ago, I haven't had the time to devote to digging deep and finding the exact issue. |
Me neither, I downgraded back to Vagrant 1.8.4 and VirtualBox 5.0.22 for now (newer VirtualBox 5.0 releases have the networking bug which can cause provisioning to stall unless you start pinging something from the virtual machine). |
Hi @geerlingguy! I'm curious if the problem you're hitting may be resolved by hashicorp/vagrant#7705. If you have a chance to give it a try, I'd be interested to know if it fixes things up. Thanks! |
@chrisroberts - Unfortunately with some crazy life events happening right now, I'm going to have to wait to test things out—if there's a new Vagrant release (1.8.6) soon, that could expedite things, but until that happens I am putting updating any of my base boxes on hold, because even if it does solve the issue (it seems like it will), I'd rather not require those using my public boxes have to apply patches to Vagrant to keep working. For now, the existing versions of my boxes are working, and I've already burned a bit too much time on this issue :P |
But THANK YOU for posting that, and for referencing the upstream issue. I think that could be the problem, just looking over the details, what changed, etc. |
I had a similar issue where the "Cable connected" checkbox was not checked for the NAT interface, and by generating the box with VirtualBox 5.0.26, it's now working. |
The hack was removed in 9455d86, and I'm going to leave it out; it seems VirtualBox is working fine now, though I'm hitting a snag with VMware Fusion 8.5 builds. So I'll open a separate issue for that. |
I confirm that it has been fixed in VirtualBox 5.1.6. |
@MiLk - Thanks! I just tested in 5.1.8 and built a new base box, and it seems to be working well now. |
See related:
The text was updated successfully, but these errors were encountered: