Activity log for bug #1082414

Date Who What changed Old value New value Message
2012-11-23 15:12:57 Jonathan Raffre bug added bug
2012-11-23 15:22:08 Jonathan Raffre description When trying to migrate an instance from a new compute node to an older compute node (hardware-wise), nova-computes fails saying that the CPU models are incompatible and leaves the instance in Error Status. I did specify the CPU model in instances with the options : libvirt_cpu_mode=custom libvirt_cpu_model=kvm64 While it seems normal to refuse migration when libvirt_cpu_mode is set to host-model or host-passthrough, setting it to custom and using kvm64 in instances should not impact CPU compatibility between hosts. Migrating the other way around (old to new) works correctly, mainly because of a superseeding set of instructions. I'm using the Folsom Ubuntu packaged release of nova-compute on Ubuntu 12.10. When trying to migrate an instance from a new compute node to an older compute node (hardware-wise), nova-computes fails saying that the CPU models are incompatible and leaves the instance in Error Status. I did specify the CPU model in instances with the options : libvirt_cpu_mode=custom libvirt_cpu_model=kvm64 While it seems normal to refuse migration when libvirt_cpu_mode is set to host-model or host-passthrough, setting it to custom and using kvm64 in instances should not impact CPU compatibility between hosts. Migrating the other way around (old to new) works correctly, mainly because of a superseeding set of instructions. I'm using the Folsom Ubuntu packaged release of nova-compute on Ubuntu 12.10. Edit : Adding stacktrace MSG_ID is fe5d9a7c1a634d7f9c0270e35fed083b from (pid=2363) multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:354 [req-0512c53b-1b31-4924-a7d8-1ab57505ca0b ac90b7751f7f4da78f238916f3d01788 0173fc0a9e3d42caa34659f84ee7cb7c] Live migration of instance 97177534-6947-4756-9db5-b92fd4e504df to host os-node1 failed Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/admin_actions.py", line 282, in _migrate_live disk_over_commit, host) File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 94, in inner return f(self, context, instance, *args, **kw) File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1960, in live_migrate disk_over_commit, instance, host) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 96, in live_migration dest=dest)) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call return rpc.call(context, self._get_topic(topic), msg, timeout) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 102, in call return _get_impl().call(cfg.CONF, context, topic, msg, timeout) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 712, in call rpc_amqp.get_connection_pool(conf, Connection)) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 368, in call rv = list(rv) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 336, in __iter__ raise result RemoteError: Remote error: InvalidCPUInfo_Remote Unacceptable CPU info: CPU doesn't have compatibility. 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions 0 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions Refer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult Traceback (most recent call last): 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions 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) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch return getattr(proxyobj, method)(ctxt, **kwargs) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped temp_level, payload) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped return f(*args, **kw) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions 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) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions 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) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2367, in _compare_cpu raise exception.InvalidCPUInfo(reason=m % locals()) 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility. 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions 0 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions Refer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult 2012-11-14 22:33:41 TRACE nova.api.openstack.compute.contrib.admin_actions
2013-02-11 13:38:14 Jonathan Raffre summary Live migration between hosts with same instances' CPU models fails Live migration between hosts with differents CPU models fails
2013-02-27 00:13:44 Vish Ishaya nova: assignee Daniel Berrange (berrange)
2013-02-27 00:13:49 Vish Ishaya nova: importance Undecided Low
2013-02-27 00:13:51 Vish Ishaya nova: status New Triaged
2013-04-18 06:26:42 Qiu Yu bug added subscriber Yu Qiu
2013-05-15 08:58:02 Koji Iida bug added subscriber Koji Iida
2013-05-23 04:58:58 Kris Derril Siregar bug added subscriber Kris Derril Siregar
2013-05-30 05:03:30 Geoff Nordli bug added subscriber Geoff Nordli
2013-07-02 23:14:15 Daniel Speichert bug added subscriber Daniel Speichert
2013-08-12 11:46:07 OpenStack Infra nova: status Triaged In Progress
2013-08-12 11:46:07 OpenStack Infra nova: assignee Daniel Berrange (berrange) Jian Wen (wenjianhn)
2013-08-28 08:18:08 Khanh Nguyen bug added subscriber Khanh Nguyen
2013-10-21 09:13:38 Konrad Meier bug added subscriber Konrad Meier
2013-10-23 17:09:15 Yaguang Tang nova: assignee Jian Wen (wenjianhn) Yaguang Tang (heut2008)
2014-01-10 13:05:38 lirenke bug added subscriber lirenke
2014-02-18 20:25:43 Mathieu Gagné bug added subscriber Mathieu Gagné
2014-02-27 21:54:38 Julien bug added subscriber Bada
2014-07-09 18:30:19 Ian Jolliffe bug added subscriber Ian Jolliffe
2014-09-03 12:58:48 Sean Dague nova: assignee Yaguang Tang (heut2008)
2014-09-03 12:59:02 Sean Dague nova: status In Progress New
2014-09-03 12:59:07 Sean Dague nova: importance Low Wishlist
2014-09-03 12:59:15 Sean Dague nova: status New Confirmed
2014-09-18 13:47:29 OpenStack Infra nova: status Confirmed In Progress
2014-09-18 13:47:29 OpenStack Infra nova: assignee Daniel Berrange (berrange)
2014-09-18 13:50:09 Daniel Berrange nova: importance Wishlist Medium
2014-10-11 06:22:34 gustavo panizzo bug added subscriber gustavo panizzo
2014-10-21 09:55:24 Fabrizio Soppelsa bug added subscriber Fabrizio Soppelsa
2014-11-07 08:37:46 Alain bug added subscriber Alain
2014-11-21 21:32:57 Tony Walker bug added subscriber Tony Walker
2014-12-15 03:21:21 Z bug added subscriber Z
2014-12-24 09:13:04 Andres Toomsalu bug added subscriber Andres Toomsalu
2015-01-30 08:56:22 Pawel Koniszewski bug added subscriber Pawel Koniszewski
2015-02-05 18:34:05 Jon Henry bug added subscriber Jon Henry
2015-02-06 09:11:59 Randy bug added subscriber Randy
2015-02-06 21:00:36 OpenStack Infra nova: assignee Daniel Berrange (berrange) jiang, yunhong (yunhong-jiang)
2015-02-09 19:05:19 OpenStack Infra nova: assignee jiang, yunhong (yunhong-jiang) Jay Pipes (jaypipes)
2015-02-09 19:06:24 Jay Pipes nova: assignee Jay Pipes (jaypipes) jiang, yunhong (yunhong-jiang)
2015-02-16 06:01:14 OpenStack Infra nova: status In Progress Fix Committed
2015-02-23 17:18:54 Daniel Schneller bug added subscriber Daniel Schneller
2015-02-26 14:01:19 Dr. Jens Harbott bug added subscriber Dr. Jens Rosenboom
2015-02-27 14:48:19 Lei Wang bug added subscriber Ray Wang
2015-03-11 12:12:16 Abhijeet Malawade bug added subscriber Abhijeet Malawade
2015-03-12 18:26:33 Bart Wensley bug added subscriber Bart Wensley
2015-03-20 07:37:47 Thierry Carrez nova: status Fix Committed Fix Released
2015-03-20 07:37:47 Thierry Carrez nova: milestone kilo-3
2015-04-30 09:21:56 Thierry Carrez nova: milestone kilo-3 2015.1.0
2015-07-06 03:08:28 Tsuyoshi Nagata bug added subscriber Tsuyoshi Nagata
2015-12-03 14:11:09 George bug added subscriber George