← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1234604] Re: xenapi: migration error - original exception not logged

 

** Changed in: nova
       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/1234604

Title:
  xenapi: migration error - original exception not logged

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  If there is a non-properly installed host (maybe the /images directory
  is not created, or ssh was not setup), the following tempest test
  fails:

  nosetests
  tempest.api.compute.servers.test_server_actions:ServerActionsTestXML.test_resize_server_confirm

  This is the log entry from n-cpu:
  [req-ee3f693d-2d80-4f7a-927f-19ae6264fd7b ServerActionsTestXML1666436677-user ServerActionsTestXML1666436677-tenant] Exception during message handling
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
      **args)
    File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
      result = getattr(proxyobj, method)(ctxt, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 353, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/exception.py", line 90, in wrapped
      payload)
    File "/opt/stack/nova/nova/exception.py", line 73, in wrapped
      return f(self, context, *args, **kw)
    File "/opt/stack/nova/nova/compute/manager.py", line 243, in decorated_function
      pass
    File "/opt/stack/nova/nova/compute/manager.py", line 229, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 294, in decorated_function
      function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 271, in decorated_function
      e, sys.exc_info())
    File "/opt/stack/nova/nova/compute/manager.py", line 258, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 3021, in resize_instance
      block_device_info)
    File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 284, in migrate_disk_and_power_off
      dest, instance_type, block_device_info)
    File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 939, in migrate_disk_and_power_off
      context, instance, dest, vm_ref, sr_path)
    File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 882, in _migrate_disk_resizing_up
      self._migrate_vhd(instance, vdi_uuid, dest, sr_path, seq_num)
    File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 770, in _migrate_vhd
      raise exception.MigrationError(reason=msg)
  MigrationError: Migration error: Failed to transfer vhd to new host

  It would be good to see what was the actual error message.

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