Vagrant box startup timeout due to no serial port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Confirmed
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
due to this issue the boot time of ubuntu 19.04 (disco) requires about 2minutes on my systems instead of about 5-7 seconds.
environment:
* ubuntu 18.04
* vagrant v2.0.2
* virtualbox 6.0.8
steps to reproduce:
1) initialize vagrant: `vagrant init ubuntu/disco64`
2) start vagrant image: `vagrant up`
get the virtual machine name or uuid, and read the 'uartmode1' setup:
`VBoxManage showvminfo <uuid|vmname> --machinereadable |grep ^uart`
will result in:
----
uart1="0x03f8,4"
uartmode1=
uarttype1="16550A"
uart2="off"
uart3="off"
uart4="off"
----
with 'uartmode1' disconnected, meaning 'ttyS0' not attached to the vm ubuntu 19.04 will take a long time to boot.
with previous ubuntu versions this works fine, e.g. cosmic64 or bionic64.
----
uart1="0x03f8,4"
uartmode1=
uarttype1="16550A"
uart2="off"
uart3="off"
uart4="off"
----
if the ttyS0 should no longer be attached by default then the grub parameter 'GRUB_CMDLINE_
GRUB_CMDLINE_
to
GRUB_CMDLINE_
the impact is best visible when the vm is started with a gui, either from virtualbox gui or with vagrant in 'Vagrantfile':
----
config.
# Display the VirtualBox GUI when booting the machine
vb.gui = true
end
----
tags: | added: id-5cf13913704f6332da576e60 |
affects: | livecd-rootfs → livecd-rootfs (Ubuntu) |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → Confirmed |
Changed in cloud-images: | |
status: | New → Confirmed |
tags: | added: focal |
summary: |
- disco64 vagrant box slow boot due to missing ttyS0 (uartmode1 not set to - a log file in virtualbox) + Vagrant box startup timeout due to no serial port |
tags: | removed: id-5cf13913704f6332da576e60 |
tags: | added: id-5cf13913704f6332da576e60 |
I've experienced the same problem with focal64 image. Is it going to be fixed?