← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1310931] Re: nova migration-list fails with unicode error

 

Marking as "fix released" as the original poster confirmed that the
issue has been resolved.

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

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

Title:
  nova migration-list fails with unicode error

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Doing a "nova migration-list" I get the following error in the nova-
  api logs:

  ERROR Exception handling resource: 'unicode' object does not support item deletion
  TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  TRACE nova.api.openstack.wsgi   File "/opt/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
  TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
  TRACE nova.api.openstack.wsgi   File "/opt/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
  TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
  TRACE nova.api.openstack.wsgi   File "/opt/nova/nova/api/openstack/compute/contrib/migrations.py", line 74, in index
  TRACE nova.api.openstack.wsgi     return {'migrations': output(migrations)}
  TRACE nova.api.openstack.wsgi   File "/opt/nova/nova/api/openstack/compute/contrib/migrations.py", line 37, in output
  TRACE nova.api.openstack.wsgi     del obj['deleted']
  TRACE nova.api.openstack.wsgi TypeError: 'unicode' object does not support item deletion
  Returning 400 to user: The server could not comply with the request since it is either malformed or otherwise incorrect. __call__ /opt/nova/nova/api/openstack/wsgi.py:1215

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


References