'hw:cpu_thread_policy=isolate' is not accounted properly on non-HT hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Sergey Nikitin |
Bug Description
If an instance with 'hw:cpu_
The problem is that in LibvirtDriver.
Later when _update_usage() runs it ends up eventually running NUMACell.
def pin_cpus_
for sib in self.siblings:
if cpus & sib:
Since "self.siblings" is empty, we end up calling self.pin_cpus() with an empty list, which means that we don't update self.pinned_cpus.
Stephen Finucane has suggested the correct fix might be to leave single pCPUs in the NUMACell.siblings field. This needs to be verified to make sure that it doesn't cause other problems.
tags: | added: numa |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → Sergey Nikitin (snikitin) |
Fix proposed to branch: master /review. openstack. org/391416
Review: https:/