← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1658877] Re: live migration failed with XenServer as hypervisor

 

** Also affects: nova/ocata
   Importance: Undecided
       Status: New

** Changed in: nova/ocata
       Status: New => Fix Released

** Changed in: nova/ocata
   Importance: Undecided => High

** Changed in: nova/ocata
     Assignee: (unassigned) => Matt Riedemann (mriedem)

** Tags removed: ocata-rc-potential

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

Title:
  live migration failed with XenServer as hypervisor

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) ocata series:
  Fix Released

Bug description:
  I used devstack to deploy a multi compute node test environment with XenServer
  Then I executed the command "nova live-migration --block-migrate admin-vm5 ComputeNode3"
  Then I got the below errors:

  ===============================================
  2017-01-23 07:18:11.243 ERROR nova.virt.xenapi.vmops [req-6e4f8d0b-ea2f-4a69-bcd8-98d5f94e8ab0 admin admin] Migrate Send failed
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops Traceback (most recent call last):
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 2396, in live_migrate
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops     "VM.migrate_send", vm_ref, migrate_data)
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 2361, in _call_live_migrate_command
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops     vdi_map, vif_map, options)
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops   File "/usr/local/lib/python2.7/dist-packages/os_xenapi/client/session.py", line 200, in call_xenapi
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops     return session.xenapi_request(method, args)
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops   File "/usr/local/lib/python2.7/dist-packages/os_xenapi/client/XenAPI.py", line 130, in xenapi_request
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops     result = _parse_result(getattr(self, methodname)(*full_params))
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops   File "/usr/local/lib/python2.7/dist-packages/os_xenapi/client/XenAPI.py", line 212, in _parse_result
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops     raise Failure(result['ErrorDescription'])
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops Failure: ['VIF_NOT_IN_MAP', 'OpaqueRef:b0636c87-539f-59f6-8fef-8c15c6d58665']
  2017-01-23 07:18:11.243 TRACE nova.virt.xenapi.vmops

  
  ================================================
  2017-01-23 07:18:11.355 ERROR nova.compute.manager [req-6e4f8d0b-ea2f-4a69-bcd8-98d5f94e8ab0 admin admin] [instance: b539c9fd-6f29-472b-908c-5c0146c31917] Live migration failed.
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917] Traceback (most recent call last):
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]   File "/opt/stack/nova/nova/compute/manager.py", line 5368, in _do_live_migration
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]     block_migration, migrate_data)
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]   File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 520, in live_migration
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]     recover_method, block_migration, migrate_data)
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 2414, in live_migrate
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]     recover_method(context, instance, destination_hostname)
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]     self.force_reraise()
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]     six.reraise(self.type_, self.value, self.tb)
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 2400, in live_migrate
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]     reason=_('Migrate Send failed'))
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917] MigrationError: Migration error: Migrate Send failed
  2017-01-23 07:18:11.355 TRACE nova.compute.manager [instance: b539c9fd-6f29-472b-908c-5c0146c31917]

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


References