[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2019-01-21 Thread Robie Basak
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  and  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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  Cloud images fail to boot when a serial port is not available

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2018-11-23 Thread Jose Phillips
Hi Everyone

Just add a serial port and will fix the issue
Cloud Images try to log the boot to serial port 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2018-06-07 Thread Edward Vielmetti
This problem also reported at https://github.com/AdoptOpenJDK/openjdk-
infrastructure/issues/356

If someone who has seen this has done a workaround specifically for
Openstack I'd appreciate it.

** Bug watch added: github.com/AdoptOpenJDK/openjdk-infrastructure/issues #356
   https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/356

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2018-04-04 Thread ironstorm
The same problem exists on VirtualBox using the Apr 2 nightly of bionic
cloud image... :(

Workaround on Virtualbox is to add a disconnected serial port to allow
booting to continue using the following:

VBoxManage modifyvm "${VM}" --uart1 0x3f8 4 --uartmode1 disconnected

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2018-01-23 Thread Keenan Verbrugge
Same issue here. Using ubuntu 16.04

Adding a console for qemu/kvm was able to get me past this:

virsh edit vmname

add:


  


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2018-01-09 Thread Andrew Paxson
I am not sure if this is relevant to your inquiry but I also found
having to add a isa-serial (in virt-manager thats Serial PPTY) to the
machine, it then when past that section.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2017-12-21 Thread Dan Watkins
** Changed in: cloud-images
Milestone: y-2016-06-02 => None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2017-12-21 Thread Evan Felix
I can also confirm that this issue happens in the cloud images for
xenial, zesty, artful, and current bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2017-12-20 Thread Evan Felix
I am seeing this issue when booting 16.04 images under ovirt.  if i add
a serial console to the VM it boots fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2017-08-21 Thread Mathieu Mitchell
Any update on when the updated kernel parameters can make it to official
cloud images?

Also worth noting, OpenStack image docs [1] also indicate ttyS0 at
115200n8.

1: https://docs.openstack.org/image-guide/openstack-images.html#ensure-
image-writes-boot-log-to-console

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2017-05-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2017-04-12 Thread Seung-Hoon Lee
** Also affects: ubuntu
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2016-04-25 Thread Dan Watkins
Hi zero, Kenneth, Nick,

Thanks for reporting and confirming this bug! Could one of you include a
list of instructions to reliably reproduce this, please? That will make
it much easier for someone investigating the bug to be sure that they
are hitting the same issue that you are. :)


Thanks,

Dan

** Package changed: ubuntu => cloud-images

** Changed in: cloud-images
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2016-04-25 Thread Kenneth Østrup
I am also seeing this issue, with the same results as screenshot
submitted by Nick Douma.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2016-04-24 Thread Nick Douma
Can confirm this bug, attached is a screenshot. The VM will hang and
have a CPU load of 100%, but the boot will never continue.

** Attachment added: "xenial-boot-freeze.png"
   
https://bugs.launchpad.net/cloud-init/+bug/1573095/+attachment/4645921/+files/xenial-boot-freeze.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2016-04-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1573095] Re: 16.04 cloud image hangs at first boot

2016-04-24 Thread zero
** Also affects: cloud-init
   Importance: Undecided
   Status: New

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573095

Title:
  16.04 cloud image hangs at first boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1573095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs