← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1560469] Re: Migration in-use volume from lvm to ceph failed

 

** Project changed: nova => nova-project

-- 
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/1560469

Title:
  Migration in-use volume from lvm to ceph failed

Status in Nova:
  New

Bug description:
  Migration an in-use volume from lvm to ceph failed:

  2016-03-22 17:28:38.610 28985 ERROR oslo_messaging.rpc.dispatcher [req-f35c694e-3d7e-42c2-9135-691b36e84eaa 5650304261d74dbe8a4f7848661f95a6 55bbe36a87af48c0af04c9204a49a854 - - -] Exception during message handling: Swap only supports host devices
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 8840, in swap_volume
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     new_volume_id)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     payload)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     return f(self, context, *args, **kw)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 379, in decorated_function
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     LOG.warning(msg, e, instance_uuid=instance_uuid)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 350, in decorated_function
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 407, in decorated_function
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 395, in decorated_function
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6010, in swap_volume
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     new_volume_id)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5969, in _swap_volume
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     self.volume_api.unreserve_volume(context, new_volume_id)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5950, in _swap_volume
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     resize_to)
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1233, in swap_volume
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher     
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher NotImplementedError: Swap only supports host devices
  2016-03-22 17:28:38.610 28985 TRACE oslo_messaging.rpc.dispatcher

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