← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1739367] [NEW] Error updating resources due to instancecell.cpu_pinning None

 

Public bug reported:

 Error updating resources for node valor5-dal09-ce47.
ERROR nova.compute.manager Traceback (most recent call last):
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6500, in update_available_resource
ERROR nova.compute.manager     rt.update_available_resource(context)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 528, in update_available_resource
ERROR nova.compute.manager     self._update_available_resource(context, resources)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
ERROR nova.compute.manager     return f(*args, **kwargs)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 573, in _update_available_resource
ERROR nova.compute.manager     self._update_usage_from_instances(context, instances)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 936, in _update_usage_from_instances
ERROR nova.compute.manager     self._update_usage_from_instance(context, instance)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 902, in _update_usage_from_instance
ERROR nova.compute.manager     self._update_usage(instance, sign=sign)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 741, in _update_usage
ERROR nova.compute.manager     self.compute_node, usage, free)
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1446, in get_host_numa_usage_from_instance
ERROR nova.compute.manager     host_numa_topology, instance_numa_topology, free=free))
ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1306, in numa_usage_from_instances
ERROR nova.compute.manager     pinned_cpus = set(instancecell.cpu_pinning.values())
ERROR nova.compute.manager AttributeError: 'NoneType' object has no attribute 'values'

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

- [req-ef854f56-7298-47ce-9179-212d66adda96 - - - - -] Error updating resources for node valor5-dal09-ce47.
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager Traceback (most recent call last):
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6500, in update_available_resource
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     rt.update_available_resource(context)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 528, in update_available_resource
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     self._update_available_resource(context, resources)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     return f(*args, **kwargs)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 573, in _update_available_resource
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     self._update_usage_from_instances(context, instances)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 936, in _update_usage_from_instances
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     self._update_usage_from_instance(context, instance)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 902, in _update_usage_from_instance
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     self._update_usage(instance, sign=sign)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 741, in _update_usage
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     self.compute_node, usage, free)
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1446, in get_host_numa_usage_from_instance
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     host_numa_topology, instance_numa_topology, free=free))
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1306, in numa_usage_from_instances
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager     pinned_cpus = set(instancecell.cpu_pinning.values())
- 2017-12-20 00:38:43.569 8563 ERROR nova.compute.manager AttributeError: 'NoneType' object has no attribute 'values'
+  Error updating resources for node valor5-dal09-ce47.
+ ERROR nova.compute.manager Traceback (most recent call last):
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6500, in update_available_resource
+ ERROR nova.compute.manager     rt.update_available_resource(context)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 528, in update_available_resource
+ ERROR nova.compute.manager     self._update_available_resource(context, resources)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
+ ERROR nova.compute.manager     return f(*args, **kwargs)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 573, in _update_available_resource
+ ERROR nova.compute.manager     self._update_usage_from_instances(context, instances)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 936, in _update_usage_from_instances
+ ERROR nova.compute.manager     self._update_usage_from_instance(context, instance)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 902, in _update_usage_from_instance
+ ERROR nova.compute.manager     self._update_usage(instance, sign=sign)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 741, in _update_usage
+ ERROR nova.compute.manager     self.compute_node, usage, free)
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1446, in get_host_numa_usage_from_instance
+ ERROR nova.compute.manager     host_numa_topology, instance_numa_topology, free=free))
+ ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1306, in numa_usage_from_instances
+ ERROR nova.compute.manager     pinned_cpus = set(instancecell.cpu_pinning.values())
+ ERROR nova.compute.manager AttributeError: 'NoneType' object has no attribute 'values'

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

Title:
  Error updating resources due to instancecell.cpu_pinning None

Status in OpenStack Compute (nova):
  New

Bug description:
   Error updating resources for node valor5-dal09-ce47.
  ERROR nova.compute.manager Traceback (most recent call last):
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6500, in update_available_resource
  ERROR nova.compute.manager     rt.update_available_resource(context)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 528, in update_available_resource
  ERROR nova.compute.manager     self._update_available_resource(context, resources)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
  ERROR nova.compute.manager     return f(*args, **kwargs)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 573, in _update_available_resource
  ERROR nova.compute.manager     self._update_usage_from_instances(context, instances)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 936, in _update_usage_from_instances
  ERROR nova.compute.manager     self._update_usage_from_instance(context, instance)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 902, in _update_usage_from_instance
  ERROR nova.compute.manager     self._update_usage(instance, sign=sign)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 741, in _update_usage
  ERROR nova.compute.manager     self.compute_node, usage, free)
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1446, in get_host_numa_usage_from_instance
  ERROR nova.compute.manager     host_numa_topology, instance_numa_topology, free=free))
  ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/hardware.py", line 1306, in numa_usage_from_instances
  ERROR nova.compute.manager     pinned_cpus = set(instancecell.cpu_pinning.values())
  ERROR nova.compute.manager AttributeError: 'NoneType' object has no attribute 'values'

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


Follow ups