Xenserver live-migration error

asked 2014-02-17 05:02:46 -0500

adhi gravatar image

updated 2014-02-17 05:11:31 -0500

Hi all,

I've got an error in nova compute log while doing live-migration of instance using xenserver as hypervisor, here the error on nova-compute.log

 2014-02-17 17:38:39.749 5635 TRACE nova.virt.xenapi.vmops
2014-02-17 17:38:40.019 5635 ERROR nova.openstack.common.rpc.amqp [req-ab8ea257-819f-4c9f-8062-f1cc0e701241 a0134b488f9445cf9262b204b209350a 682becf218714a2aa64a10768a2cacc3] Exception during message handling
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     **args)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 90, in wrapped
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     payload)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 73, in wrapped
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4063, in live_migration
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     block_migration, migrate_data)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 529, in live_migration
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     recover_method, block_migration, migrate_data)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1907, in live_migrate
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     block_migration)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1892, in live_migrate
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     raise exception.MigrationError(_('Migrate Send failed'))
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp MigrationError: Migrate Send failed
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp

What I have todo :

  • Create a nova aggregate-create, setting up the aggregate, add compute nodes to aggregate.
  • Add sr_matching_filter=default-sr:true into the nova.conf on every compute node
  • doing live-migration using --block-migrate

My Aggregate-details

+----+-----------+-------------------+----------------------------------------------+------------------------------------------------------------------------------------------------+
| Id | Name      | Availability Zone | Hosts                                        | Metadata                                                                                       |
+----+-----------+-------------------+----------------------------------------------+------------------------------------------------------------------------------------------------+
| 2  | test-pool | nova              | [u'compute-03', u'compute-04'] | {u'operational_state': u'created', u'hypervisor_pool': u'true', u'availability_zone': u'nova'} |
+----+-----------+-------------------+----------------------------------------------+------------------------------------------------------------------------------------------------+

I've succes ... (more)

edit retag flag offensive close merge delete