qemu-kvm not working as nested inside ESX 6.0

Bug #1691109 reported by fxpester
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Incomplete
Undecided
Unassigned
qemu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ESX 6.0 (virt bits exposed) - Ubuntu 16.04 + qemu-kvm 1:2.8+dfsg-3ubuntu2~cloud0 - CirrOS launched by OpenStack (devstack master)

VM will start with -machine = 'pc-i440fx-zesty' and will stuck in "booting from hard disk"

to fix it you can manually change -machine to 'pc-i440fx-2.3'

also, ISOs boots well, so I think it`s something about block devices configuration introduced in new machine type.

p.s.
also confirmed with RHEL instead of Ubuntu as KVM host - new machine type don`t work

Revision history for this message
Michael Johnson (johnsom) wrote :

It appears that the recent qemu packages released for 16.04 set the machine type to "pc-i440fx-zesty" instead of "pc-i440fx-xenial". If you override this and make it use "pc-i440fx-xenial" instances boot again.

FYI, if you are using OpenStack, this can be done by editing nova.conf, [libvirt] section, and add hw_machine_type = x86_64=pc-i440fx-xenial

Changed in qemu:
status: New → Confirmed
no longer affects: openstack-community
Thomas Huth (th-huth)
affects: qemu → qemu (Ubuntu)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks Thomas for redirecting this to us.

@fxpester - qemu uses the latest default machine type.
Since you run on 16.04 but have -zesty types that means you run very likely with the Ubuntu Cloud Archive.

That is what makes more recent virtualization stacks around openstack available on LTS releases.
As Michael already pointed out in c#1 you can set the type as needed.

I'll add a task for the openstack team who maintains the cloud archive so they can see this as well. I have no ESX around to retry atm, but OTOH haven't seen any such issue on Bare metal nor on nested KVM<->KVM. I'm not sure about the severity yet, as nesting is always a bit less supported.

@Openstack Team do you have VMware testbeds?

Changed in qemu (Ubuntu):
status: Confirmed → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qemu (Ubuntu):
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote :

@paelzer

No we don't - sorry.

Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

I marked it as "Incomplete" since the bug reported is quite old and it's not clear what should be done at this point.

Please feel free to mark it back to "New" with further details if necessary.

Thanks,

Changed in cloud-archive:
status: New → Incomplete
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.