← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1250751] Re: live migration failed due to no shared storage when using rbd imagebackend

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1250751

Title:
  live migration failed due to no shared storage when using rbd
  imagebackend

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1250751/+subscriptions