I find when do the migration,nova detect that two host have different CPU flags(cat /proc/cpuinfo),and it will rise "InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility" If you want to solve this problem, better to choose hosts within same CPU or try to change the code in this section.
2012/12/13 Dražen Lučanin <1076...@bugs.launchpad.net> > So, what is the solution to "InvalidCPUInfo: Unacceptable CPU info: CPU > doesn't have compatibility.", then? I am aware that I am migrating > between Intel and AMD machines, but isn't there a way to make this work? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1076308 > > Title: > Logging CPU incompatibility when attempting live migration fails > > Status in OpenStack Compute (Nova): > Fix Released > Status in OpenStack Compute (nova) folsom series: > Fix Released > Status in “nova” package in Ubuntu: > Fix Released > Status in “nova” source package in Quantal: > Confirmed > > Bug description: > Running nova --no-cache live-migration --block-migrate myvm myhost > returns: > > ERROR: Live migration of instance <uuid> to host myhost failed (HTTP > 400) (Request-ID: req-<uuid>) > > There's a stacktrace in the nova-compute.log on the target host: > > Traceback (most recent call last): > File > "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line > 275, in _process_data > rval = self.proxy.dispatch(ctxt, version, method, **args) > File > "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", > line 145, in dispatch > return getattr(proxyobj, method)(ctxt, **kwargs) > File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, > in wrapped > temp_level, payload) > File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ > self.gen.next() > File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in > wrapped > return f(*args, **kw) > File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line > 2076, in check_can_live_migrate_destination > instance, block_migration, disk_over_commit) > File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", > line 2238, in check_can_live_migrate_destination > self._compare_cpu(source_cpu_info) > File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", > line 2366, in _compare_cpu > LOG.error(reason=m % locals()) > TypeError: error() takes at least 2 arguments (1 given) > > LOG.error doesnt take reason, simply removing the reason= bubbles up > the correct exception: > > InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/nova/+bug/1076308/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1076308 Title: Logging CPU incompatibility when attempting live migration fails To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1076308/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs