VirtualBox 7.0.4 and Vagrant 2.3.3 – Another VirtualBox Fail (For Me)…

 

VirtualBox 7.0.4

Please read the update at the bottom of this post before making any conclusions. I wanted to leave the rest of the post unedited, but needed to update my current situation as it has changed since this post was written…

VirtualBox 7.0.4 has been released.

The downloads and changelog are in the normal places.

From my previous posts on VirtualBox 7.0.x you will know I’ve been having problems with it. They all seem to come down to networking. I can often, but not always, start up an existing VM, but if I try to build a new VM with Vagrant it will fail to setup the networking. Also, if I attempt to use Packer, it will fail to find the kickstart file, which it attempts to access over HTTPS. Both cases seem to be network related.

I’ve done all the usual firewall and antivirus stuff, and trawled the internet to see if anyone else has a solution. None of that has helped.

When I saw VirtualBox 7.0.4 I was hoping this might solve my problem, but no. I get the same issues on Windows 11, Windows 10 and macOS (Intel). This makes VirtualBox 7.0.4 unusable for me.

When I revert back to VirtualBox 6.1.40, everything works as expected…

I don’t know if this is just me, or if a lot of people are having problems with VirtualBox. It seems odd that I am getting the same result on multiple machines on two fundamentally different architectures though.

So my current suggestion would be use this at your own risk…

Vagrant 2.3.3

Vagrant 2.3.3 has also been born. Upgrading to this didn’t cause or solve any issues for me. Even though I’ve had to revert back to VirtualBox 6.1.40, this new version of Vagrant is working fine for me.

Packer 1.8.4

At some point since my last run of Packer builds version 1.8.4 was released. This follows the same pattern. It works great with VirtualBox 6.1.40, but doesn’t work at all with VirtualBOx 7.0.x.

Conclusion

Sadly VirtualBox 7.0.x is still a bust for me. Maybe I’m the only one on the planet, but it is unusable for me. I hope this changes in the future as I rely on VirtualBox bigtime…

Cheers

Tim…

Update: I’ve now switched to using VirtualBox 7.0.4 completely, and all issues have been resolved. This post by Frits Hoogland explained what my problem was. This is solved by adding the “–nat-localhostreachable1” parameter. That solved my Packer problem, and subsequent VM problems. Happy days…

Update 2: An update from Simon Coter suggests the issue is due to the way Vagrant and Packer use the VirtualBox CLI, rather than the API. The workaround mentioned in the previous update is still the easiest way to move forward.

Author: Tim...

DBA, Developer, Author, Trainer.

10 thoughts on “VirtualBox 7.0.4 and Vagrant 2.3.3 – Another VirtualBox Fail (For Me)…”

  1. Lol… oh wow, I thought I was the only one having problems with virtual box 7.x.x … from the first release of 7.x , everything has been a mess for me. Most of my older vm’s wouldn’t even boot up. I just reverted back to virtualbox 6.1.28 … and it just runs perfect for me on windows 11. I’m not planning to temper with it soon till I am ready to let go on the vm’s inside it! Lol

  2. Same for me too. My old win10 VMs won’t boot. So had to revert to older VB 6.1.40

  3. I switched back too. VMs with OEL8 as the guest OS will not boot up at all, but do once I downgrade back to 6.1.40

    Very frustrating.

  4. It causes alot of force closing and networking issues for me too version 7.x
    So i tolled back to the latest version release 6.x

  5. I agree that networking is ‘broken’ in VirtualBox 7.0.x. As David said above, NAT seems to be fine but bridged mode just doesn’t work. Very frustrating.

  6. My centos7 vms will not add virtio network card due to a conflict with BAR memory at startup,
    The vm have cpuid emulation setup and works very well with virtualbox 6.. if you remove cpuid setup, network is working as expected.

Comments are closed.