vagrant -v
Vagrant 2.2.9
This is the operating system that you run locally.
Arch Linux
uname -r
5.8.1-arch1-1
This is the operating system you run in the virtual machine.
Arch Linux.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "archlinux/archlinux"
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "512"
vb.cpus = "1"
end
end
https://gist.github.com/amitlevy21/cfa1a116152b93abceaf8e29fc84e505
What should have happened?
VM should boot normally.
What actually happened?
System freeze, forced to restart PC.
lsmod | grep vbox
vboxnetflt 32768 0
vboxnetadp 28672 0
vboxdrv 528384 2 vboxnetadp,vboxnetflt
vagrant upvb.memory and vb.cpus to 2048 and 4 respectively. Same result. My PC has 8GB RAM and 4 cores.Can confirm this behavior on my machine. Vagrant worked fine until 5.8 kernel. I'm also running Arch Linux with kernel version 5.8.1-arch1-1 and Vagrant version 2.2.9. Sometimes the system freezes almost immediately after running vagrant up and sometimes it freezes during ssh step.
Issue persists with 5.8.2 kernel.
I am unable to reproduce this on the 5.8.3 kernel and virtualbox 6.1.12. Does updating the kernel resolve this issue?
The issue persist with kernel 5.8.3 and virtual box 6.1.12
Hi there,
This is definitely odd behavior, but Vagrant itself should not be able to cause the system to panic. While this behavior does not appear to be isolated (since two of you are here reporting the same behavior) it is not something that is reproducible on any installation. One thing that may provide some useful information is to tail the system logs while you are attempting to bring up the guest with Vagrant to see if anything is reported prior to the system failing.
@soapy1 @chrisroberts Thank you for looking into this.
Iv'e used journalctl -b -1 -x to extract the logs from yesterday (when I responded that the issue persists with 5.8.3)
https://gist.github.com/amitlevy21/469c5ce60f1d9dda384caaab03d4d886
I ran vagrant up at 22:43.
As I understand, the issue does not reproduce with your machines because you are using a different Linux distribution?
I'll try to provide my logs tomorrow, if I remember. I noticed that this issue is only present on my laptop and not desktop, even though both are running Arch and have the same kernel and program versions.
I'm having the same issue described. I am currently running
Every time I try to vagrant up a box, the host ends up completely freezing after some time. One thing I've managed to reproduce multiple times is the freeze happening when running ss on the host when Vagrant is in the SSH phase. From this I suppose the problem network-related.
I have tried this on two different computers and the results are the same (the kernel, etc. are the same though).
- My system does not freeze if I manually run the VM that vagrant built through VirtualBox.
I thought this was the case too, but I've tried to run manually and the freeze still happens, it just seems to take longer (however it's immediate when triggered by ss).
PS: I have just managed to reproduce the freeze when starting a non-Vagrant generated VM (single NAT interface). Right after it started booting, I ran ss on the host and it froze. So it seems this is probably a bug in VirtualBox or the kernel.
I have also tried switching network drivers in VirtualBox but to no avail.
Looks like this is not a Vagrant issue, but a Virtualbox one:
https://www.virtualbox.org/ticket/19644
https://bbs.archlinux.org/viewtopic.php?id=258217
Closing, as this is not Vagrant specific.
Thanks everybody for the efforts.
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.
Most helpful comment
Looks like this is not a Vagrant issue, but a Virtualbox one:
https://www.virtualbox.org/ticket/19644
https://bbs.archlinux.org/viewtopic.php?id=258217
Closing, as this is not Vagrant specific.
Thanks everybody for the efforts.