[Bug 1602057] Re: (libvirt) KeyError updating resources for some node, guest.uuid is not in BDM list

Maximiliano massimo at nubeliu.com
Wed Dec 28 15:26:47 UTC 2016


This bug is also afecting to me in stable mitaka, how can we fix it  ?

2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager [req-d83fa70e-e6a1-49d8-9f15-2ddaaa9c07d7 - - - - -] Error updating resources for node oscomp02.tentails.net.
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager Traceback (most recent call last):
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6487, in update_available_resource
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager     rt.update_available_resource(context)
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 508, in update_available_resource
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager     resources = self.driver.get_available_resource(self.nodename)
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5393, in get_available_resource
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager     disk_over_committed = self._get_disk_over_committed_size_total()
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 7074, in _get_disk_over_committed_size_total
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager     local_instances[guest.uuid], bdms[guest.uuid])
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager KeyError: 'ba7eedbd-55c7-4751-ade9-30d3f52d6163'
2016-12-28 12:20:44.847 9941 ERROR nova.compute.manager


# rpm -qa | egrep nova
openstack-nova-common-13.1.2-1.el7.noarch
python-nova-13.1.2-1.el7.noarch
python2-novaclient-3.3.2-1.el7.noarch
openstack-nova-compute-13.1.2-1.el7.noarch


Any chance to apply the fix proposed Review: https://review.openstack.org/405467 ?

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1602057

Title:
  (libvirt) KeyError updating resources for some node, guest.uuid is not
  in BDM list

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive mitaka series:
  Triaged
Status in Ubuntu Cloud Archive newton series:
  Triaged
Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) mitaka series:
  Won't Fix
Status in OpenStack Compute (nova) newton series:
  Fix Committed

Bug description:
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager [req-d5d5d486-b488-4429-bbb5-24c9f19ff2c0 - - - - -] Error updating resources for node controller.
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager Traceback (most recent call last):
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6726, in update_available_resource
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager     rt.update_available_resource(context)
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 500, in update_available_resource
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager     resources = self.driver.get_available_resource(self.nodename)
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5728, in get_available_resource
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager     disk_over_committed = self._get_disk_over_committed_size_total()
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 7397, in _get_disk_over_committed_size_total
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager     local_instances[guest.uuid], bdms[guest.uuid])
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager KeyError: '0a5c5743-9555-4dfd-b26e-198449ebeee5'
  2016-07-12 09:54:36.021 10056 ERROR nova.compute.manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1602057/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list