sqlalchemy GET /v1/resources returns too much meter data needs to match mongodb implementation
Bug #1131349 reported by
John Tran
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Julien Danjou |
Bug Description
The resources returned has meter attribute nested and those results are each and every row of the meters for that resource as well as all fields of each row. If a resource has tens of thousands of meters associated to it, the eager loading will load all of those rows and return all that data in the json result. Instead, it should match the mongodb implementation which simply returns a distinct list of unique {'counter_name': value, 'counter_type': value, 'counter_unit': value}.
Changed in ceilometer: | |
milestone: | none → grizzly-rc1 |
assignee: | nobody → Julien Danjou (jdanjou) |
importance: | Undecided → Medium |
Changed in ceilometer: | |
status: | New → In Progress |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | grizzly-rc1 → 2013.1 |
To post a comment you must log in.
Fixing in https:/ /review. openstack. org/#/c/ 23534/