Description of problem: Cloned from LP # 1250751 I am using rbd image backend for my instance. When I perform live migratin there are some error as follows: ====================================================== 2013-11-13 16:09:01.084 2610 ERROR nova.openstack.common.rpc.amqp [req-01304e20-7986-4982-925b-56e62dd07499 a043bf5308314731b6bc60a523b5c803 03b91ca8deb044ec9b32d4aff61df 973] Exception during message handling 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 426, in _process_data 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp **args) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 99, in wrapped 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp temp_level, payload) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 76, in wrapped 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3609, in check_can_live_migrate_ destination 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp dest_check_data) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/rpcapi.py", line 274, in check_can_live_migrate_so urce 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp instance)) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/proxy.py", line 126, in call 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp result = rpc.call(context, real_topic, msg, timeout) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/__init__.py", line 140, in call 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp return _get_impl().call(CONF, context, topic, msg, timeout) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_kombu.py", line 824, in call 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp rpc_amqp.get_connection_pool(conf, Connection)) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 539, in call 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp rv = list(rv) 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 504, in __iter__ 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp raise result 2013-11-13 16:09:01.084 2610 TRACE nova.openstack.common.rpc.amqp InvalidSharedStorage_Remote: ymy-r1-7 is not on shared storage: Live migration can not be used without s hared storage. ====================================================== I use only one rbd storage pool for my instances. There are shared storage actually. But the code in nova for checking shared storage do not make sence for rbd image backend. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hi Padraig, Nikola is away for a few days, and today we discussed (in your absence admittedly!) the idea of you taking over a lot of the Ceph integration work going forward into Juno. Would you mind reviewing this patch upstream? Would be good to get danpb to look at it again if he has time too. Thanks!
I've +2'd that upstream. It looks correct and well polished and has been in the loop for 7 months!
Thanks, would probably like to see some feedback from Dan as well as I know he had comments on an earlier revision.
Hi Toure, Are you or someone else on your team able to provide qa_ack? Thanks, Steve
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0853.html