yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76679
[Bug 1573095] Re: 16.04 cloud image hangs at first boot
Here are full steps to reproduce this issue using tooling from Ubuntu
only:
uvt-simplestreams-libvirt sync release=bionic arch=amd64 label=release
uvt-kvm create --no-start lp1573095 release=bionic arch=amd64 label=release
virsh edit lp1573095 # delete <serial/> and <console/> blocks
virsh start lp1573095
uvt-kvm wait lp1573095
Expected behaviour: succeeds when the VM is available
Actual behaviour: hangs and eventually times out
Additionally you can examine the screen with virt-manager. On that screen, I
expect a login prompt. Instead I see nothing beyond the normal kernel messages
(nothing from userspace).
If you skip the serial/console definition deletion in the steps above, you'll
see that the VM works. In other words, the VM stops working if a serial port is
not available.
Workaround: remove console=ttyS0 from GRUB_CMD_LINUX_DEFAULT in
/etc/default/grub.d/50-cloudimg-settings.cfg, leaving only console=tty1, and
then run "sudo update-grub". However this must either be done on a system with
aserial port, or you have to jump through the appropriate hoops to be able to
get the result of "update-grub" happen without having booted the system. Note
that editing /etc/default/grub is insufficient since
/etc/default/grub.d/50-cloudimg-settings.cfg overrides it (see bug 1812752).
** Summary changed:
- 16.04 cloud image hangs at first boot
+ Cloud images fail to boot when a serial port is not available
** Changed in: ubuntu
Status: Confirmed => Invalid
** Changed in: cloud-images
Status: New => Confirmed
** Changed in: cloud-init
Status: Fix Released => Invalid
** Description changed:
I tried to launch a ubuntu 16.04 cloud image within KVM.
- The image is not booting up and hangs at
+ The image is not booting up and hangs at
"Btrfs loaded"
Hypervisor env is Proxmox 4.1
+
+ [racb: see comment 40 for minimal steps to reproduce using Ubuntu-
+ provided tooling only)
** Description changed:
I tried to launch a ubuntu 16.04 cloud image within KVM.
The image is not booting up and hangs at
"Btrfs loaded"
Hypervisor env is Proxmox 4.1
[racb: see comment 40 for minimal steps to reproduce using Ubuntu-
- provided tooling only)
+ provided tooling only]
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1573095
Title:
Cloud images fail to boot when a serial port is not available
Status in cloud-images:
Confirmed
Status in cloud-init:
Invalid
Status in Ubuntu:
Invalid
Bug description:
I tried to launch a ubuntu 16.04 cloud image within KVM.
The image is not booting up and hangs at
"Btrfs loaded"
Hypervisor env is Proxmox 4.1
[racb: see comment 40 for minimal steps to reproduce using Ubuntu-
provided tooling only]
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions