nova migration-list fails with unicode error

Bug #1310931 reported by Sam Morrison
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

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

Sam Morrison (sorrison)
description: updated
Tracy Jones (tjones-i)
tags: added: api
Revision history for this message
Christopher Yeoh (cyeoh-0) wrote :

What version of Openstack did you see this problem in - if it was master are you able to still replicate the problem? I have been unable to recreate the error.

If you are able to still recreate the error are you able to describe how to get openstack into a state where you can create the error.

Changed in nova:
status: New → Incomplete
Revision history for this message
Sam Morrison (sorrison) wrote :

I can confirm the issue has been fixed

Revision history for this message
Justin Shepherd (jshepher) wrote :

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

Changed in nova:
status: Incomplete → Fix Released
Revision history for this message
George Shuklin (george-shuklin) wrote :

This problem is still persists in havanna (ubuntu-cloud-archive).

tags: added: havana-backport-potential
tags: removed: havana-backport-potential
tags: added: havana-backport-potential
removed: api
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.