← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1837756] [NEW] ImagePropertiesFilter: hypervisor_type matchmaking not compliant with documentation

 

Public bug reported:

All compute nodes of my Cloud are configured using
libvirt]/virt_type=kvm

Please note that this is not exposed in the 'openstack hypervisor list
--long' output which reports QEMU as  'Hypervisor Type'.


I have some images with the following property:

hypervisor_type='qemu'


No problems scheduling instances using these images in Ocata.
After having updated to Rocky, the ImagePropertiesFilter filters out all the compute nodes, because they offer 'kvm' while 'qemu' is requested.

This is not compliant with documentation.
Both Nova (https://docs.openstack.org/nova/rocky/admin/configuration/schedulers.html) and Glance (https://docs.openstack.org/glance/latest/admin/useful-image-properties.html) documentation say that  qemu is supposed to be used for both QEMU and KVM hypervisor types.


The issue is discussed in:


http://lists.openstack.org/pipermail/openstack-discuss/2019-July/thread.html#7842

where it is reported that the new behavior is likely because this
change:

https://review.opendev.org/531347

** Affects: nova
     Importance: Undecided
         Status: New

** Summary changed:

- ImagePropertiesFilter scheduling problems for images with hypervisor_type='qemu' when virt_type is "kvm" 
+ ImagePropertiesFilter:  hypervisor_type matchmaking not compliant with documentation

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1837756

Title:
  ImagePropertiesFilter:  hypervisor_type matchmaking not compliant with
  documentation

Status in OpenStack Compute (nova):
  New

Bug description:
  All compute nodes of my Cloud are configured using
  libvirt]/virt_type=kvm

  Please note that this is not exposed in the 'openstack hypervisor list
  --long' output which reports QEMU as  'Hypervisor Type'.

  
  I have some images with the following property:

  hypervisor_type='qemu'

  
  No problems scheduling instances using these images in Ocata.
  After having updated to Rocky, the ImagePropertiesFilter filters out all the compute nodes, because they offer 'kvm' while 'qemu' is requested.

  This is not compliant with documentation.
  Both Nova (https://docs.openstack.org/nova/rocky/admin/configuration/schedulers.html) and Glance (https://docs.openstack.org/glance/latest/admin/useful-image-properties.html) documentation say that  qemu is supposed to be used for both QEMU and KVM hypervisor types.

  
  The issue is discussed in:

  
  http://lists.openstack.org/pipermail/openstack-discuss/2019-July/thread.html#7842

  where it is reported that the new behavior is likely because this
  change:

  https://review.opendev.org/531347

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1837756/+subscriptions


Follow ups