yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56618
[Bug 1624119] [NEW] remove_deleted_instances in RT stacktraces with AttributeError
Public bug reported:
http://logs.openstack.org/92/371092/1/check/gate-tempest-dsvm-neutron-
full-ubuntu-
xenial/62ba450/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-09-15_21_07_36_354
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager [req-a2ce4588-a9b5-466d-9f06-62d78a23fd04 - -] Error updating resources for node ubuntu-xenial-osic-cloud1-4322012.
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager Traceback (most recent call last):
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/manager.py", line 6416, in update_available_resource_for_node
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager rt.update_available_resource(context)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 526, in update_available_resource
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager self._update_available_resource(context, resources)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager return f(*args, **kwargs)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 562, in _update_available_resource
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager self._update_usage_from_instances(context, instances)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 903, in _update_usage_from_instances
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager self.compute_node, self.tracked_instances.values())
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager return getattr(self.instance, __name)(*args, **kwargs)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/scheduler/client/report.py", line 446, in remove_deleted_instances
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager for instance in instance_uuids}
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/scheduler/client/report.py", line 446, in <dictcomp>
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager for instance in instance_uuids}
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager AttributeError: 'dict' object has no attribute 'uuid'
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager
Introduced with: https://review.openstack.org/#/c/369147/
** Affects: nova
Importance: High
Assignee: Jay Pipes (jaypipes)
Status: Confirmed
** Tags: compute placement
** Changed in: nova
Status: New => Confirmed
** Changed in: nova
Importance: Undecided => High
--
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/1624119
Title:
remove_deleted_instances in RT stacktraces with AttributeError
Status in OpenStack Compute (nova):
Confirmed
Bug description:
http://logs.openstack.org/92/371092/1/check/gate-tempest-dsvm-neutron-
full-ubuntu-
xenial/62ba450/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-09-15_21_07_36_354
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager [req-a2ce4588-a9b5-466d-9f06-62d78a23fd04 - -] Error updating resources for node ubuntu-xenial-osic-cloud1-4322012.
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager Traceback (most recent call last):
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/manager.py", line 6416, in update_available_resource_for_node
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager rt.update_available_resource(context)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 526, in update_available_resource
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager self._update_available_resource(context, resources)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager return f(*args, **kwargs)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 562, in _update_available_resource
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager self._update_usage_from_instances(context, instances)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 903, in _update_usage_from_instances
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager self.compute_node, self.tracked_instances.values())
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager return getattr(self.instance, __name)(*args, **kwargs)
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/scheduler/client/report.py", line 446, in remove_deleted_instances
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager for instance in instance_uuids}
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager File "/opt/stack/new/nova/nova/scheduler/client/report.py", line 446, in <dictcomp>
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager for instance in instance_uuids}
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager AttributeError: 'dict' object has no attribute 'uuid'
2016-09-15 21:07:36.354 15826 ERROR nova.compute.manager
Introduced with: https://review.openstack.org/#/c/369147/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1624119/+subscriptions
Follow ups