I just and it's not working for me.
However, I get the following error in the nova-compute.log:
2013-09-18 14:46:10.972 INFO nova.compute.manager [req-629ff9d2-fb6c-4c83-a672-e5aecd36cb20 8ca2f0ccd55f4d9ba53847755f2e0b18 10c16ce5ffb54c56925152b7d331a8d2] [instance: f521d7f2-d27f-40ff-81da-d1a25a5b69ac] Post operation of migration started
2013-09-18 14:46:12.221 ERROR nova.openstack.common.rpc.amqp [req-629ff9d2-fb6c-4c83-a672-e5aecd36cb20 8ca2f0ccd55f4d9ba53847755f2e0b18 10c16ce5ffb54c56925152b7d331a8d2] Exception during message handling
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3273, in post_live_migration_at_destination
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp block_migration, block_device_info)
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 521, in post_live_migration_at_destination
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp self._vmops.post_live_migration_at_destination(ctxt, instance_ref,
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp AttributeError: 'VMOps' object has no attribute 'post_live_migration_at_destination'
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.common.rpc.amqp
2013-09-18 14:46:12.230 ERROR nova.openstack.common.rpc.common [req-629ff9d2-fb6c-4c83-a672-e5aecd36cb20 8ca2f0ccd55f4d9ba53847755f2e0b18 10c16ce5ffb54c56925152b7d331a8d2] Returning exception 'VMOps' object has no attribute 'post_live_migration_at_destination' to caller
2013-09-18 14:46:12.230 ERROR nova.openstack.common.rpc.common [req-629ff9d2-fb6c-4c83-a672-e5aecd36cb20 8ca2f0ccd55f4d9ba53847755f2e0b18 10c16ce5ffb54c56925152b7d331a8d2] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, **args)\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3273, in post_live_migration_at_destination\n block_migration, block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 521, in post_live_migration_at_destination\n self._vmops.post_live_migration_at_destination(ctxt, instance_ref,\n', "AttributeError: 'VMOps' object has no attribute 'post_live_migration_at_destination'\n"]
I have tried to patch the files "nova/virt/xenapi/driver.py" and "nova/virt/xenapi/vmops.py" according to John's commit in the openstack nova compute XCP virtual machines in both nodes participating in the live migration.
Am I doing anything wrong? Maybe I need to patch something more since I am on Grizzly and not trunk?
I just and it's not working for me.
However, I get the following error in the nova-compute.log:
2013-09-18 14:46:10.972 INFO nova.compute. manager [req-629ff9d2- fb6c-4c83- a672-e5aecd36cb 20 8ca2f0ccd55f4d9 ba53847755f2e0b 18 10c16ce5ffb54c5 6925152b7d331a8 d2] [instance: f521d7f2- d27f-40ff- 81da-d1a25a5b69 ac] Post operation of migration started common. rpc.amqp [req-629ff9d2- fb6c-4c83- a672-e5aecd36cb 20 8ca2f0ccd55f4d9 ba53847755f2e0b 18 10c16ce5ffb54c5 6925152b7d331a8 d2] Exception during message handling common. rpc.amqp Traceback (most recent call last): common. rpc.amqp File "/usr/lib/ python2. 7/dist- packages/ nova/openstack/ common/ rpc/amqp. py", line 430, in _process_data common. rpc.amqp rval = self.proxy. dispatch( ctxt, version, method, **args) common. rpc.amqp File "/usr/lib/ python2. 7/dist- packages/ nova/openstack/ common/ rpc/dispatcher. py", line 133, in dispatch common. rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs) common. rpc.amqp File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 3273, in post_live_ migration_ at_destination common. rpc.amqp block_migration, block_device_info) common. rpc.amqp File "/usr/lib/ python2. 7/dist- packages/ nova/virt/ xenapi/ driver. py", line 521, in post_live_ migration_ at_destination common. rpc.amqp self._vmops. post_live_ migration_ at_destination( ctxt, instance_ref, common. rpc.amqp AttributeError: 'VMOps' object has no attribute 'post_live_ migration_ at_destination' common. rpc.amqp common. rpc.common [req-629ff9d2- fb6c-4c83- a672-e5aecd36cb 20 8ca2f0ccd55f4d9 ba53847755f2e0b 18 10c16ce5ffb54c5 6925152b7d331a8 d2] Returning exception 'VMOps' object has no attribute 'post_live_ migration_ at_destination' to caller common. rpc.common [req-629ff9d2- fb6c-4c83- a672-e5aecd36cb 20 8ca2f0ccd55f4d9 ba53847755f2e0b 18 10c16ce5ffb54c5 6925152b7d331a8 d2] ['Traceback (most recent call last):\n', ' File "/usr/lib/ python2. 7/dist- packages/ nova/openstack/ common/ rpc/amqp. py", line 430, in _process_data\n rval = self.proxy. dispatch( ctxt, version, method, **args)\n', ' File "/usr/lib/ python2. 7/dist- packages/ nova/openstack/ common/ rpc/dispatcher. py", line 133, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n', ' File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 3273, in post_live_ migration_ at_destination\ n block_migration, block_device_ info)\n' , ' File "/usr/lib/ python2. 7/dist- packages/ nova/virt/ xenapi/ driver. py", line 521, in post_live_ migration_ at_destination\ n self._vmops. post_live_ migration_ at_destination( ctxt, instance_ref,\n', "AttributeError: 'VMOps' object has no attribute 'post_live_ migration_ at_destination' \n"]
2013-09-18 14:46:12.221 ERROR nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.221 1418 TRACE nova.openstack.
2013-09-18 14:46:12.230 ERROR nova.openstack.
2013-09-18 14:46:12.230 ERROR nova.openstack.
I have tried to patch the files "nova/virt/ xenapi/ driver. py" and "nova/virt/ xenapi/ vmops.py" according to John's commit in the openstack nova compute XCP virtual machines in both nodes participating in the live migration.
Am I doing anything wrong? Maybe I need to patch something more since I am on Grizzly and not trunk?