← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1162825] Re: Hyper-V Live Migration failed from the command line of OpenStack controller

 

This problem never happens again after using latest build.

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  Hyper-V Live Migration failed from the command line of OpenStack
  controller

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  The command "nova live-migration server1 host1" failed when the
  compute nodes are hyper-v. Error log on hyper-v as below:

  013-03-29 17:26:29.953 ERROR nova.virt.hyperv.livemigrationutils [req-6660ad0f-aeb3-4d2a-b1bd-8aee63fc2e91 d1da8dd1f36a4b069ed60f14104ee8c1 198b9d213a3045efaadbcf805b11960f] <x_wmi: Unexpected COM Error (-2147024891, 'Access is denied.', None, None)>
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils Traceback (most recent call last):
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\virt\hyperv\livemigrationutils.py", line 39, in _get_conn_v2
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils     return wmi.WMI(moniker='//%s/root/virtualization/v2' % host)
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\wmi.py", line 1290, in connect
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils     handle_com_error ()
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\wmi.py", line 241, in handle_com_error
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils     raise klass (com_error=err)
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils x_access_denied: <x_wmi: Unexpected COM Error (-2147024891, 'Access is denied.', None, None)>
  2013-03-29 17:26:29.953 2376 TRACE nova.virt.hyperv.livemigrationutils 
  2013-03-29 17:26:47.069 ERROR nova.openstack.common.rpc.amqp [req-6660ad0f-aeb3-4d2a-b1bd-8aee63fc2e91 d1da8dd1f36a4b069ed60f14104ee8c1 198b9d213a3045efaadbcf805b11960f] Exception during message handling
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\openstack\common\rpc\amqp.py", line 393, in _process_data
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\openstack\common\rpc\dispatcher.py", line 133, in dispatch
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\compute\manager.py", line 3033, in live_migration
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     block_migration, migrate_data)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\virt\hyperv\driver.py", line 117, in live_migration
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     block_migration, migrate_data)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\virt\hyperv\livemigrationops.py", line 60, in live_migration
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     recover_method(context, instance_ref, dest, block_migration)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\contextlib.py", line 24, in __exit__
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\virt\hyperv\livemigrationops.py", line 55, in live_migration
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     self._livemigrutils.live_migrate_vm(instance_name, dest)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\virt\hyperv\livemigrationutils.py", line 99, in live_migrate_vm
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     conn_v2_remote = self._get_conn_v2(dest_host)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp   File "C:\Program Files (x86)\Hyper-V Agent\Python27\lib\site-packages\nova\virt\hyperv\livemigrationutils.py", line 50, in _get_conn_v2
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp     raise vmutils.HyperVException(msg)
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp HyperVException: Live migration failed: 
  2013-03-29 17:26:47.069 2376 TRACE nova.openstack.common.rpc.amqp

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