[stats] Getting of all oswl reports into zip file failed with TypeError: sequence item 0: expected string, dict found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alexander Kislitsky |
Bug Description
Steps:
1. Try to get all oswl reports
curl -XGET http://
Actual - it failed to zip all reports
Traceback (most recent call last):
File "/home/
return self._next()
File "/home/
for item in iterable:
File "./fuel_
for d in itertools.
File "./fuel_
resource_
File "./fuel_
flatten_
TypeError: sequence item 0: expected string, dict found
[pid: 2063|app: 0|req: 3/3] 127.0.0.1 () {24 vars in 291 bytes} [Mon Mar 23 11:06:51 2015] GET /api/v1/csv/volume => generated 513 bytes in 22 msecs (HTTP/1.1 200) 2 headers in 112 bytes (2 switches on core 0)
-------
dump of db is attached
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
status: | Confirmed → In Progress |
tags: |
added: feature-stats removed: stats |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/167645 /git.openstack. org/cgit/ stackforge/ fuel-stats/ commit/ ?id=a6fb8e22724 7a0493d8a3eae6d d6c993f7b60021
Committed: https:/
Submitter: Jenkins
Branch: master
commit a6fb8e227247a04 93d8a3eae6dd6c9 93f7b60021
Author: Alexander Kislitsky <email address hidden>
Date: Wed Mar 25 18:13:52 2015 +0300
Fix for export attachments from volume
Volume contains list of attachments. Export of attachments into CSV as enumerated fields implemented. ATTACHMENTS_ NUM parameter.
Number of enumrations is added into config as CSV_VOLUME_
Enumeration of keys paths implemented in export_utils.
Volume attachment skeleton added.
Change-Id: I63eb2217c35644 57a8ff4a5396eb7 e7c40a76321
Closes-Bug: #1434086
Closes-Bug: #1435224