live-migration fails

asked 2011-11-15 10:42:53 -0600

yashiang1986 gravatar image

Hi, I use diablo release. I have 3 computers: PC44 is Control node, PC45 and PC47 are compute node. I want to migrate a VM from PC47 to PC45 root@PC44:~# nova-manage vm live_migration i-00000030 PC45

I get some error in nova-compute.log on PC47:

2011-11-16 02:37:26,861 DEBUG nova.rpc [-] received {u'_context_roles': [], u'_msg_id': u'63bb8bd814334ae398172debd36e5b54', u'_context_read_deleted': False, u'_context_request_id': u'2bbb189e-dc59-4af9-917b-6deeec8737f7', u'args': {u'filename': u'tmpyCFN0Q'}, u'_context_auth_token': None, u'_context_strategy': u'noauth', u'_context_is_admin': True, u'_context_project_id': None, u'_context_timestamp': u'2011-11-15T18:37:26.582523', u'_context_user_id': None, u'method': u'check_shared_storage_test_file', u'_context_remote_address': None} from (pid=1172) __call__ /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:600 2011-11-16 02:37:26,862 DEBUG nova.rpc [-] unpacked context: {'user_id': None, 'roles': [], 'timestamp': u'2011-11-15T18:37:26.582523', 'auth_token': None, 'msg_id': u'63bb8bd814334ae398172debd36e5b54', 'remote_address': None, 'strategy': u'noauth', 'is_admin': True, 'request_id': u'2bbb189e-dc59-4af9-917b-6deeec8737f7', 'project_id': None, 'read_deleted': False} from (pid=1172) _unpack_context /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:646 2011-11-16 02:37:27,776 DEBUG nova.rpc [-] received {u'_context_roles': [], u'_context_request_id': u'2bbb189e-dc59-4af9-917b-6deeec8737f7', u'_context_read_deleted': False, u'args': {u'instance_id': 48, u'dest': u'PC45', u'block_migration': False}, u'_context_auth_token': None, u'_context_strategy': u'noauth', u'_context_is_admin': True, u'_context_project_id': None, u'_context_timestamp': u'2011-11-15T18:37:26.582523', u'_context_user_id': None, u'method': u'live_migration', u'_context_remote_address': None} from (pid=1172) __call__ /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:600 2011-11-16 02:37:27,776 DEBUG nova.rpc [-] unpacked context: {'user_id': None, 'roles': [], 'timestamp': u'2011-11-15T18:37:26.582523', 'auth_token': None, 'msg_id': None, 'remote_address': None, 'strategy': u'noauth', 'is_admin': True, 'request_id': u'2bbb189e-dc59-4af9-917b-6deeec8737f7', 'project_id': None, 'read_deleted': False} from (pid=1172) _unpack_context /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:646 2011-11-16 02:37:27,830 DEBUG nova.rpc [-] Making asynchronous call on compute.PC45 ... from (pid=1172) multicall /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:721 2011-11-16 02:37:27,831 DEBUG nova.rpc [-] MSG_ID is 4b86d41a40914f5bbca515e44a052a2d from (pid=1172) multicall /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:724 2011-11-16 02:37:27,975 ERROR nova.compute.manager [-] Pre live migration for instance-00000030 failed at PC45 2011-11-16 02:37:28,107 ERROR nova.rpc [-] Exception during message handling (nova.rpc): TRACE: Traceback (most recent call last): (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in _process_data (nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1481, in live_migration (nova.rpc): TRACE: raise (nova.rpc): TRACE: TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType (nova.rpc): TRACE:

nova-compute.log on PC45:

2011-11-16 02:37:27,946 INFO nova.compute.manager [-] server-48 has no volume. 2011-11-16 02:37:27,947 DEBUG nova.rpc [-] Making asynchronous call on network ... from (pid=1415) multicall /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:721 2011-11-16 02:37:27,947 DEBUG nova.rpc ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-11-21 02:01:44 -0600

yashiang1986 gravatar image

My hardware's host_uuid is not unique. After I set the "host_uuid" flag in libvrtd.conf, it work well.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-11-15 10:42:53 -0600

Seen: 83 times

Last updated: Nov 21 '11