← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1677426] Re: Live Migration fails as different cpu types

 

Oops, I did read it wrong, you are performing LM from westmere to
broadwell.

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

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

Title:
  Live Migration fails as different cpu types

Status in OpenStack Compute (nova):
  New

Bug description:
  I'm trying to live migration from systen with Westmere to system with
  Broadwell but fails

  Additional info:
  operating system: centos 7.3
  openstack: Ocata

  /etc/nova/nova.conf 
  cpu_mode=none
  cpu_model=none
  virt_type=kvm

  Error report:
  *********************************************
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server [req-98ec383e-d18d-4e79-89e9-725a7e244ce5 - - - - -] Exception during message handling
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 75, in wrapped
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     function_name, call_dict, binary)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     self.force_reraise()
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 66, in wrapped
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/utils.py", line 685, in decorated_function
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 216, in decorated_function
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     kwargs['instance'], e, sys.exc_info())
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     self.force_reraise()
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 204, in decorated_function
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5213, in check_can_live_migrate_destination
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     disk_over_commit)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5224, in _do_check_can_live_migrate_destination
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     block_migration, disk_over_commit)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5655, in check_can_live_migrate_destination
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     self._compare_cpu(None, source_cpu_info, instance)
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5923, in _compare_cpu
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server     raise exception.InvalidCPUInfo(reason=m % {'ret': ret, 'u': u})
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility.
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server 0
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult
  2017-03-29 20:31:44.979 4051 ERROR oslo_messaging.rpc.server

  ****************************************************************

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


References