← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1534836] [NEW] AttributeError: 'LibvirtLiveMigrateData' object has no attribute 'get'

 

Public bug reported:

Seen here:

http://logs.openstack.org/88/251588/26/check/gate-tempest-dsvm-
multinode-
full/748c334/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-01-15_18_55_19_856

2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665] Traceback (most recent call last):
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 6213, in _live_migration
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     dom, finish_event, disk_paths)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 6134, in _live_migration_monitor
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     migrate_data)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/exception.py", line 110, in wrapped
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     payload)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     six.reraise(self.type_, self.value, self.tb)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/exception.py", line 89, in wrapped
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     return f(self, context, *args, **kw)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/compute/manager.py", line 385, in decorated_function
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     kwargs['instance'], e, sys.exc_info())
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     six.reraise(self.type_, self.value, self.tb)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/compute/manager.py", line 373, in decorated_function
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     return function(self, context, *args, **kwargs)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/compute/manager.py", line 5371, in _post_live_migration
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     destroy_vifs=destroy_vifs)
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 961, in cleanup
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     migrate_data and migrate_data.get('is_shared_block_storage',
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665] AttributeError: 'LibvirtLiveMigrateData' object has no attribute 'get'
2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665] 

It's swallowed by the libvirt driver so that's why it's not failing
jobs.

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22AttributeError%3A%20'LibvirtLiveMigrateData'%20object%20has%20no%20attribute%20'get'%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22%20AND%20voting%3A%5C%221%5C%22&from=7d

Introduced here I think: https://review.openstack.org/#/c/248211/

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: compute libvirt live-migration

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

Title:
  AttributeError: 'LibvirtLiveMigrateData' object has no attribute 'get'

Status in OpenStack Compute (nova):
  New

Bug description:
  Seen here:

  http://logs.openstack.org/88/251588/26/check/gate-tempest-dsvm-
  multinode-
  full/748c334/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-01-15_18_55_19_856

  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665] Traceback (most recent call last):
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 6213, in _live_migration
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     dom, finish_event, disk_paths)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 6134, in _live_migration_monitor
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     migrate_data)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/exception.py", line 110, in wrapped
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     payload)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     six.reraise(self.type_, self.value, self.tb)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/exception.py", line 89, in wrapped
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     return f(self, context, *args, **kw)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/compute/manager.py", line 385, in decorated_function
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     kwargs['instance'], e, sys.exc_info())
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     six.reraise(self.type_, self.value, self.tb)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/compute/manager.py", line 373, in decorated_function
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     return function(self, context, *args, **kwargs)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/compute/manager.py", line 5371, in _post_live_migration
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     destroy_vifs=destroy_vifs)
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 961, in cleanup
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665]     migrate_data and migrate_data.get('is_shared_block_storage',
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665] AttributeError: 'LibvirtLiveMigrateData' object has no attribute 'get'
  2016-01-15 18:55:19.856 9643 ERROR nova.virt.libvirt.driver [instance: dc5a3e3c-f844-4947-a0b6-c162141af665] 

  It's swallowed by the libvirt driver so that's why it's not failing
  jobs.

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22AttributeError%3A%20'LibvirtLiveMigrateData'%20object%20has%20no%20attribute%20'get'%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22%20AND%20voting%3A%5C%221%5C%22&from=7d

  Introduced here I think: https://review.openstack.org/#/c/248211/

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