← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 917615] Re: Inappropriate exception handling on kvm live/block migration

 

** Changed in: nova/diablo
       Status: Fix Committed => Fix Released

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

Title:
  Inappropriate exception handling on kvm live/block migration

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) diablo series:
  Fix Released
Status in OpenStack Compute (nova) essex series:
  Fix Released
Status in “nova” package in Ubuntu:
  Fix Released
Status in “nova” source package in Precise:
  Fix Released

Bug description:
  1. Cannot check exception messages when live/block migration fails.
  Error message is below.

  > ---------------------------------------------------------------------
  > 2012-01-17 05:19:10,250 DEBUG nova.rpc [-] Making asynchronous cast on
  > compute.os-sv02... from (pid=18400) cast
  > /opt/openstack/dev/nova/nova/rpc/impl_kombu.py:784
  > Traceback (most recent call last):
  >   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 97, in wait
  >     readers.get(fileno, noop).cb(fileno)
  >   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
  >      result = function(*args, **kwargs)
  >   File "/opt/openstack/dev/nova/nova/virt/libvirt/connection.py", line 1717, in _live_migration
  >     raise
  > TypeError: exceptions must be old-style classes or derived from
  > BaseException, not NoneType Removing descriptor: 9
  > ---------------------------------------------------------------------

  2. invalid argument
  nova.compute.manager.recover_live_migration() should follow recent nova.virt.libvirt.connection.destroy() changes.
  Otherwise, it cause an TypeError.

           self.driver.destroy(instance_ref, network_info,
  -                            block_device_info, True)
  +                            block_device_info)

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