Bug 1732676 - CPUPinningInvalid reported by nova-compute during instance migration
Summary: CPUPinningInvalid reported by nova-compute during instance migration
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-24 06:20 UTC by KOSAL RAJ I
Modified: 2023-03-21 19:22 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-24 11:29:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-23467 0 None None None 2023-03-21 19:22:53 UTC

Description KOSAL RAJ I 2019-07-24 06:20:09 UTC
Description of problem:
CPUPinningInvalid reported by nova-compute during instance migration

Version-Release number of selected component (if applicable):
RHOSP10

How reproducible:


Steps to Reproduce:

2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager [req-a6e6da97-d83c-4053-9721-a41967d5bb0d - - - - -] Error updating resources for node xxxxovsdpdkcompute6.l
ocaldomain.
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager Traceback (most recent call last):
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6474, in update_available_resource_for_nod
e
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     rt.update_available_resource(context)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 524, in update_available_resource
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     return f(*args, **kwargs)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 563, in _update_available_resourc
e
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     self._update_usage_from_instances(context, instances)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 901, in _update_usage_from_instan
ces
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     self._update_usage_from_instance(context, instance)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 871, in _update_usage_from_instan
ce
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     self._update_usage(self._get_usage_dict(instance), sign=sign)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 719, in _update_usage
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     self.compute_node, usage, free)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/hardware.py", line 1587, in get_host_numa_usage_from_instance
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     host_numa_topology, instance_numa_topology, free=free))
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/hardware.py", line 1460, in numa_usage_from_instances
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     newcell.pin_cpus(pinned_cpus)
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/objects/numa.py", line 86, in pin_cpus
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager     self.pinned_cpus))
2019-07-24 05:24:38.199 3786856 ERROR nova.compute.manager CPUPinningInvalid: CPU set to pin [4, 5, 6, 10, 44, 45, 46, 16, 50, 19, 56, 59] must be a subset of free CPU set [
7, 11, 15, 17, 51, 55, 57, 47]

Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.