← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1444909] Re: Attached volumes migration fails due to swap volume

 

*** This bug is a duplicate of bug 1451860 ***
    https://bugs.launchpad.net/bugs/1451860

** No longer affects: cinder

** This bug has been marked a duplicate of bug 1451860
   Attached volume migration failed, due to incorrect arguments  order passed to swap_volume

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

Title:
  Attached volumes migration fails due to  swap volume

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  In cinder, when try to migrate an attached volume. The n-cpu reports
  the error:

  
  =========================================n-cpu=====================================================
  2015-04-16 17:35:30.581 ERROR root [req-cf02b6cd-4bd7-4e59-986b-278596cec0a6 admin admin] Original exception being dropped: ['Tracebac
  k (most recent call last):\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 340, in decorated_function\n    return function
  (self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 4939, in swap_volume\n    context, old_vo
  lume_id, instance_uuid=instance.uuid)\n', "AttributeError: 'unicode' object has no attribute 'uuid'\n"]
  2015-04-16 17:35:31.043 ERROR root [req-cf02b6cd-4bd7-4e59-986b-278596cec0a6 admin admin] Original exception being dropped: ['Tracebac
  k (most recent call last):\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 295, in decorated_function\n    return function
  (self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 352, in decorated_function\n    kwargs[\'
  instance\'], e, sys.exc_info())\n', '  File "/opt/stack/nova/nova/compute/utils.py", line 87, in add_instance_fault_from_exc\n    faul
  t_obj.instance_uuid = instance.uuid\n', "AttributeError: 'unicode' object has no attribute 'uuid'\n"]
  2015-04-16 17:35:31.046 ERROR oslo_messaging.rpc.dispatcher [req-cf02b6cd-4bd7-4e59-986b-278596cec0a6 admin admin] Exception during me
  ssage handling: string indices must be integers
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatch
  er.py", line 142, in _dispatch_and_reply
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatch
  er.py", line 186, in _dispatch
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatch
  er.py", line 130, in _do_dispatch
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 6756, in swap_volum
  e
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     new_volume_id)
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     payload)
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", li
  ne 85, in __exit__
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     return f(self, context, *args, **kw)
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 311, in decorated_f
  unction
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher     instance_uuid = keyed_args['instance']['uuid']
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher TypeError: string indices must be integers
  2015-04-16 17:35:31.046 TRACE oslo_messaging.rpc.dispatcher

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


References