NUMATopologyFilter fail when only one node has sibling while host has two node when cpu_thread_policy is require.

Bug #1599411 reported by liuxiuli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Yingxin

Bug Description

version:master
problem:
NUMATopologyFilter fail when only one node has sibling while host has two node when cpu_thread_policy is require.

for example:
host has cpu info:
NUMA node0 CPU(s): 0-3,8-11
NUMA node1 CPU(s): 4-7,12-15

If vcpu_pin_set is 0-3,8-11, we can not boot instance with "hw:cpu_policy": "dedicated", "hw:cpu_thread_policy": "require" with NUMATopologyFilter in default_filters, and NUMATopologyFilter will fail for node 2 has no sibling.
The log info:
host fails CPU policy requirements. Host does not have hyperthreading or hyperthreading is disabled, but 'require' threads policy was requested.

Tags: scheduler
liuxiuli (liu-lixiu)
Changed in nova:
assignee: nobody → liuxiuli (liu-lixiu)
Yingxin (cyx1231st)
tags: added: scheduler
Yingxin (cyx1231st)
Changed in nova:
assignee: liuxiuli (liu-lixiu) → Yingxin (cyx1231st)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/338632

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Yingxin Cheng (<email address hidden>) on branch: master
Review: https://review.openstack.org/338632
Reason: This is a duplication of change I3235cc6bf1a2a9e29a17acc43472e2a6bd4c26ec

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.