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

Bug #1883682 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Low
Balazs Gibizer

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

Tags: compute numa
Changed in nova:
importance: Undecided → Low
assignee: nobody → Balazs Gibizer (balazs-gibizer)
tags: added: compute numa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/735947

Changed in nova:
status: New → In Progress
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.