nova migration-list failed due to ger wrong data format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Santiago Baldassin |
Bug Description
API return wrong format RESP BODY: {"migrations": {"objects": []}} , This should like RESP BODY: {"migrations": [] }
[gcb@localhost devstack]$ nova --debug migration-list
RESP: [200] CaseInsensitive
RESP BODY: {"migrations": {"objects": []}}
DEBUG (shell:777) 'unicode' object has no attribute 'iteritems'
Traceback (most recent call last):
File "/opt/stack/
OpenStackCo
File "/opt/stack/
args.
File "/opt/stack/
args.
File "/opt/stack/
return self._list(
File "/opt/stack/
for res in data if res]
File "/opt/stack/
self.
File "/opt/stack/
for (k, v) in six.iteritems(
File "/usr/lib/
return iter(getattr(d, _iteritems)(**kw))
AttributeError: 'unicode' object has no attribute 'iteritems'
ERROR: 'unicode' object has no attribute 'iteritems'
[gcb@localhost devstack]$
description: | updated |
tags: | added: api |
Changed in nova: | |
assignee: | nobody → Santiago Baldassin (santiago-b-baldassin) |
Fix proposed to branch: master /review. openstack. org/80587
Review: https:/