can't retrieve resource details in v2-api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Lianhao Lu |
Bug Description
Using the ceilometer-api-v2, when accessing the URL of "http://
the following error returned in browser:
error_message: "{"debuginfo": null, "faultcode": "Server", "faultstring": "'generator' object has no attribute '__getitem__'"}"
The ceilometer-api-v2 dumps the following exception info:
2013-02-08 12:42:09,511 ERROR [wsme.api]
Traceback (most recent call last):
File "/usr/local/
result = f(self, *args, **kwargs)
File "/opt/stack/
r = request.
TypeError: 'generator' object has no attribute '__getitem__'
localhost - - [08/Feb/2013 12:42:09] "GET /v2/resources/
Changed in ceilometer: | |
assignee: | nobody → Lianhao Lu (lianhao-lu) |
Changed in ceilometer: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/21493
Review: https:/