← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1883682] [NEW] requiring hyperthreading with HW_CPU_HYPERTHREADING trait in flavor extra_spec does not work with named request groups

 

Public bug reported:

The regexp in the nova.virt.hardware module [1] does not match with the
regexp in the flavor extra spec validation code [2]. So requesting the
HW_CPU_HYPERTHREADING only works via numbered request groups but not via
named request groups.

[1] https://github.com/openstack/nova/blob/1490a54fa92ece6d9fd676d8e4a7498460714f92/nova/virt/hardware.py#L1644
[2] https://github.com/openstack/nova/blob/1490a54fa92ece6d9fd676d8e4a7498460714f92/nova/api/validation/extra_specs/traits.py#L39

** Affects: nova
     Importance: Low
     Assignee: Balazs Gibizer (balazs-gibizer)
         Status: New


** Tags: compute numa

** Changed in: nova
   Importance: Undecided => Low

** Changed in: nova
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

** Tags added: compute numa

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

Title:
  requiring hyperthreading with HW_CPU_HYPERTHREADING trait in flavor
  extra_spec does not work with named request groups

Status in OpenStack Compute (nova):
  New

Bug description:
  The regexp in the nova.virt.hardware module [1] does not match with
  the regexp in the flavor extra spec validation code [2]. So requesting
  the HW_CPU_HYPERTHREADING only works via numbered request groups but
  not via named request groups.

  [1] https://github.com/openstack/nova/blob/1490a54fa92ece6d9fd676d8e4a7498460714f92/nova/virt/hardware.py#L1644
  [2] https://github.com/openstack/nova/blob/1490a54fa92ece6d9fd676d8e4a7498460714f92/nova/api/validation/extra_specs/traits.py#L39

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