KVM hypervisor does not disregard vmware properties

asked 2016-08-30 09:56:36 -0500

racingferret gravatar image

Hi All,

We are currently running HPE's Helion (liberty release) with multiple hypervisors (KVM and ESXi). Since VMDK images are supported by both KVM and ESXi, it was decided that was the standard. I pulled the latest Ubuntu 16.04 image from the Ubuntu site (https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.vmdk (https://cloud-images.ubuntu.com/xenia...)) and pushed it into Glance (without any properties defined) and it launches fine on the KVM hypervisors. It fails on ESXi hypervisors (unable to find the root partition).

I then pushed the same image into Glance with the following properties: vmware_adaptertype='lsiLogic' vmware_disktype='streamOptimized' vmware_ostype='ubuntu64Guest'

The 2nd image now launches on ESXi without any issue, but fails on the KVM hypervisors (again, fails to find root partition). My understanding from the documentation (http://docs.openstack.org/cli-reference/glance-property-keys.html (http://docs.openstack.org/cli-referen...)) is that vmware_* properties only apply to the VMware API driver. Why does the KVM hypervisor not disregard these properties and launch the 2nd image?

Can provide further information if required.

Thanks!

edit retag flag offensive close merge delete