mongodb failure when querying for resource-list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
New
|
Undecided
|
Unassigned |
Bug Description
In Havana, when using a sharded mongodb deployment resource-list queries fail with the following error:
2013-12-10 08:49:48.745 64835 ERROR wsme.api [-] Server-side error: "command SON([('aggregate', u'meter'), ('pipeline', [{'$match': {}}, {'$sort': {'timestamp': -1, 'project_id': -1, 'user_id': -1}}, {'$group': {'meters_unit': {'$push': '$counter_unit'}, 'source': {'$first': '$source'}, 'project_id': {'$first': '$project_id'}, 'user_id': {'$first': '$user_id'}, 'last_sample_
Traceback (most recent call last):
File "/usr/lib/
result = f(self, *args, **kwargs)
File "/usr/lib/
for r in pecan.request.
File "/usr/lib/
"meters_unit": {"$push": "$counter_unit"},
File "/usr/lib64/
_use_
File "/usr/lib64/
msg, allowable_errors)
File "/usr/lib64/
raise OperationFailur
OperationFailure: command SON([('aggregate', u'meter'), ('pipeline', [{'$match': {}}, {'$sort': {'timestamp': -1, 'project_id': -1, 'user_id': -1}}, {'$group': {'meters_unit': {'$push': '$counter_unit'}, 'source': {'$first': '$source'}, 'project_id': {'$first': '$project_id'}, 'user_id': {'$first': '$user_id'}, 'last_sample_
description: | updated |
Marking as a dupe of LP 1262571 as that contains more detail and background.