live migration fails, the status of VM keeps showing migrating and it can not change to active any more

asked 2013-09-23 21:58:40 -0600

anonymous user

Anonymous

updated 2013-09-24 01:58:20 -0600

Sirushti Murugesan gravatar image

openstack folsom edition

The problem is sometimes it can migrate successfully, sometimes not. I got confused. Pls help out

InvalidSharedStorage: compute216 is not on shared storage: Live migration can not be used without shared storage. to caller

2013-09-19 12:35:53 ERROR nova.openstack.common.rpc.common 

Traceback (most recent call last):
', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276, 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 2145, in check_can_live_migrate_destination
 instance, dest_check_data)
', ' File "/usr/lib/python2.7/dist-packages/nova/compute/rpcapi.py", line 202, in check_can_live_migrate_source
 topic=_compute_topic(self.topic, ctxt, None, instance))
', ' 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 108, 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 718, in call
 rpc_amqp.get_connection_pool(conf, Connection))
', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 369, in call
 rv = list(rv)
', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 337, in __iter__
 raise result
', 'InvalidSharedStorage_Remote: compute216 is not on shared storage: Live migration can not be used without shared storage.
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276, 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 2168, in check_can_live_migrate_source
 dest_check_data)
 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2306, in check_can_live_migrate_source
 raise exception.InvalidSharedStorage(reason=reason, path=source)

InvalidSharedStorage: compute216 is not on shared storage: Live migration can not be used without shared storage.
edit retag flag offensive close merge delete

Comments

Could you post the nova compute logs here please?

Sirushti Murugesan gravatar imageSirushti Murugesan ( 2013-09-24 00:09:13 -0600 )edit

Please edit the original question, don't post additional details in the comments.

smaffulli gravatar imagesmaffulli ( 2013-09-24 18:35:43 -0600 )edit

hi sirus, how did you convert my original log text to the format as before attached? I want to do the same.

dongfeng gravatar imagedongfeng ( 2013-09-25 03:19:04 -0600 )edit

You can click on the preformatted text option available in the format panel above your text box. Hover over the buttons in the format panel to see what they actually do. Once you find the preformatted text button, select the text of which you want to format and click on the preformatted text button.

Sirushti Murugesan gravatar imageSirushti Murugesan ( 2013-09-25 03:32:06 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-12-22 08:14:19 -0600

fnawaz gravatar image

To enable live migration you must have shared storage for both compute nodes .. Also you need to configure ssh to enable passwordless access between the compute nodes .. Note that nova user of compute node 1 should be able to log in via ssh to compute node 2 's nova

edit flag offensive delete link more
0

answered 2015-12-22 10:04:13 -0600

zekken gravatar image

In case you are doing block-migration you need not be on shared storage. Try block-migration first. If it works, try to follow this link for implementing shared storage : https://www.mirantis.com/blog/tutoria...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-09-23 21:58:40 -0600

Seen: 532 times

Last updated: Dec 22 '15