← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1600031] [NEW] libvirt: KeyError in _get_disk_over_committed_size_total

 

Public bug reported:

Seen here:

http://logs.openstack.org/21/299621/7/gate/gate-tempest-dsvm-postgres-
full/c182c88/logs/screen-n-cpu.txt.gz#_2016-07-07_21_08_11_773

2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager [req-1bfb9ba6-a2de-417e-9ad7-f72053ff9d96 - -] Error updating resources for node ubuntu-trusty-osic-cloud1-2340260.
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager Traceback (most recent call last):
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/compute/manager.py", line 6338, in update_available_resource_for_node
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     rt.update_available_resource(context)
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 502, in update_available_resource
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     resources = self.driver.get_available_resource(self.nodename)
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 5349, in get_available_resource
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     disk_over_committed = self._get_disk_over_committed_size_total()
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 6898, in _get_disk_over_committed_size_total
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     local_instances[guest.uuid], bdms[guest.uuid])
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager KeyError: '6b454071-c139-490d-96af-df701521330f'
2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager 

It's coming from a DeleteServersAdminTestJSON test. There are two tests,
I'm not sure which it is.

** Affects: nova
     Importance: Medium
         Status: Confirmed


** Tags: libvirt

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

Title:
  libvirt: KeyError in _get_disk_over_committed_size_total

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  Seen here:

  http://logs.openstack.org/21/299621/7/gate/gate-tempest-dsvm-postgres-
  full/c182c88/logs/screen-n-cpu.txt.gz#_2016-07-07_21_08_11_773

  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager [req-1bfb9ba6-a2de-417e-9ad7-f72053ff9d96 - -] Error updating resources for node ubuntu-trusty-osic-cloud1-2340260.
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager Traceback (most recent call last):
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/compute/manager.py", line 6338, in update_available_resource_for_node
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     rt.update_available_resource(context)
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/compute/resource_tracker.py", line 502, in update_available_resource
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     resources = self.driver.get_available_resource(self.nodename)
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 5349, in get_available_resource
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     disk_over_committed = self._get_disk_over_committed_size_total()
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 6898, in _get_disk_over_committed_size_total
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager     local_instances[guest.uuid], bdms[guest.uuid])
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager KeyError: '6b454071-c139-490d-96af-df701521330f'
  2016-07-07 21:08:11.773 14821 ERROR nova.compute.manager 

  It's coming from a DeleteServersAdminTestJSON test. There are two
  tests, I'm not sure which it is.

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


Follow ups