Public bug reported:

I'm having trouble with Flavor which have
trait:HW_CPU_X86_VMX='required' as a requirement.

I've checked the code and get_flags_by_flavor_specs at 
https://opendev.org/openstack/nova/src/commit/b64ecb0cc776bd3eced674b0f879bb23c8a4b486/nova/virt/libvirt/utils.py#L656
 is expecting that each key in TRAITS_CPU_MAPPING is a string but as you can 
see HW_CPU_X86_VMX is actually part of a tuple (os_traits.HW_CPU_X86_VMX, 
os_traits.HW_CPU_X86_INTEL_VMX).
and get_flags_by_flavor_specs fails to extract vmx flag from flavors properly.

I've been experiencing this issue on Antelope and based on current state
of master it's still out there.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/2043030

Title:
  Flavors with trait:HW_CPU_X86_VMX='required' are not working properly

Status in OpenStack Compute (nova):
  New

Bug description:
  I'm having trouble with Flavor which have
  trait:HW_CPU_X86_VMX='required' as a requirement.

  I've checked the code and get_flags_by_flavor_specs at 
https://opendev.org/openstack/nova/src/commit/b64ecb0cc776bd3eced674b0f879bb23c8a4b486/nova/virt/libvirt/utils.py#L656
 is expecting that each key in TRAITS_CPU_MAPPING is a string but as you can 
see HW_CPU_X86_VMX is actually part of a tuple (os_traits.HW_CPU_X86_VMX, 
os_traits.HW_CPU_X86_INTEL_VMX).
  and get_flags_by_flavor_specs fails to extract vmx flag from flavors properly.

  I've been experiencing this issue on Antelope and based on current
  state of master it's still out there.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to