error when running "Ceilometer resource list " by admin user [closed]

asked 2014-09-18 03:53:40 -0600

Ali gravatar image

updated 2014-09-21 02:17:44 -0600

Hi everybody,

I'm using Openstack release "havana" installed using RDO packstack.

Ceilometer version:strong text

python-ceilometer-2013.2.1-1.el6.noarch
openstack-ceilometer-collector-2013.2.1-1.el6.noarch
openstack-ceilometer-common-2013.2.1-1.el6.noarch
openstack-ceilometer-api-2013.2.1-1.el6.noarch
python-ceilometerclient-1.0.8-1.el6.noarch
openstack-ceilometer-central-2013.2.1-1.el6.noarch

Mongodb version:

mongodb-2.4.6-1.el6.x86_64
mongodb-server-2.4.6-1.el6.x86_64
python-pymongo-2.5.2-3.el6.x86_64

When I run ceilometer --debug resource list by admin user I got this error The same error with dashboard and /var/log/ceilometer/api.log

DEBUG (http:121) 
HTTP/1.0 500 Internal Server Error
date: Thu, 18 Sep 2014 08:37:47 GMT
content-length: 708
content-type: application/json
server: WSGIServer/0.1 Python/2.6.6

{"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "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_timestamp': {'$max': '$timestamp'}, 'meters_name': {'$push': '$counter_name'}, 'first_sample_timestamp': {'$min': '$timestamp'}, 'meters_type': {'$push': '$counter_type'}, '_id': '$resource_id', 'metadata': {'$first': '$resource_metadata'}}}])]) failed: exception: aggregation result exceeds maximum document size (16MB)"}}

WARNING (http:172) Request returned failure status.
HTTPInternalServerError (HTTP 500)

But when I run the same command with another user it works. Please help me to figure out and solve the problem considering my poor knowledge in mongodb.

Thank you

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2014-12-03 14:09:27.432013

Comments

Can you offer any other messages from other log files, such as the ceilometer log, or the web server log?

rbowen gravatar imagerbowen ( 2014-09-22 15:37:45 -0600 )edit