It hangs during booting after deploy cloud image(.ova) and upgrade hardware vesion in ESXi

Bug #1895104 reported by vmware-gos-Yuhua
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
Fix Released
Low
Chloé Smith
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Problem:
-----------
It hangs during booting after deploy cloud image groovy-server-cloudimg-amd64.ova and upgrade hardware vesionin ESXi

Step:
-----------
1) deploy groovy-server-cloudimg-amd64.ova in ESXi (not power-on after deploy)
   After deploying, the default hardware version is 10

2) upgrade VM Hardware version to 17

3) poweron VM

4) It hangs during VM booting

Resolution:
------------
We need to add serial port in the VM when VM hardware version is larger than 10

VMware have KB for the issue: https://kb.vmware.com/kb/52683

It will be better if we have serial port in cloud image groovy-server-cloudimg-amd64.ova by default.

Thanks
Yuhua Zou

Tags: bot-comment

Related branches

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1895104/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

Right now the default hardware version for all ubuntu cloud images(such as ubuntu 18.04 cloud image, ubuntu 20.10 cloud image….) is VM version 10(ESXi 5.5).

If it's convenient to support having different VM hardware version for different cloud image releases, ubuntu 20.10 cloud image have default VM version 17 (ESXi 7.0) because vmware declare to support 20.10 desktop/Server in ESXi 7.0GA and later.

If Canonical’s strategy intend to let all cloud images have same default hardware version,
it' suggested to upgrade to default VM version 11 (ESXi 6.0) for cloud image.

Best regards
Yuhua Zou

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

It's suggested to change default hardware version of cloud image(.ova) to 13 (ESXI 6.5) or 11 (ESXi 6.0).

Best regards
Yuhua Zou

Revision history for this message
John Chittum (jchittum) wrote :

Thank you for opening this ticket. I've added it to the cloud-images project for prioritization.

Revision history for this message
John Chittum (jchittum) wrote :

Confirming this bug, as we've prioritized this work on our backlog. When we work on lp: 1898871, we'll ensure that the ova sets a serial port.

Changed in cloud-images:
status: New → Confirmed
Chloé Smith (kajiya)
Changed in cloud-images:
assignee: nobody → Chloé Smith (kajiya)
Chloé Smith (kajiya)
Changed in cloud-images:
importance: Undecided → Low
Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

any news or plan for this functionality (LP 1898871) ? Thanks

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

Thanks very much.

"Serial Port 1" is added with ubuntu-21.10-server-cloudimg-amd64.ova
The default configuration about "Serial Port 1" is
   Serial Port 1: Use physical serial port
   Status: Connected at PowerOn

But with the default configuration it hit the problem:
  when power on the VM, I get warning message as follows:
     Cannot connect the virtual device serial0 because no corresponding device is available on the host. Do you want to try to connect this virtual device every time you power on the virtual machine?

Workaround:
It can be fixed by Setting "Connected at PowerOn" to false.

Thanks
Yuhua Zou

affects: ubuntu → livecd-rootfs (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.748

---------------
livecd-rootfs (2.748) jammy; urgency=medium

  * live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl: do not
    automatically allocate serial0 as it causes a hang when upgrading.
    (LP: #1895104)

 -- Brian Murray <email address hidden> Wed, 15 Dec 2021 10:09:44 -0800

Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released
John Chittum (jchittum)
Changed in cloud-images:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.