Comment 2 for bug 1258911

Revision history for this message
Julie Pichon (jpichon) wrote : Re: Havana 2013.2.1 RC: Resource Usage shows traceback (HTTPInternalServerError)

This happens when using the mysql backend instead of the mongo backend in Ceilometer, as it is not feature complete and doesn't support features like the stats function required by the Resource Usages "Stats" panel. I'm not sure if mysql is recommended as a supported backend for Ceilometer in Havana.

Note that "mysql" is the default backend when using Devstack, due to something related to the Ubuntu mongo packages. To test with mongo, change the following line in devstack's lib/ceilometer file:

# Set up database backend
CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-mysql}

to:

CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-mongo}

Then re-run ./stack.sh. (You may have to install the mongodb package manually first if Ceilometer was previously installed already - tested on Fedora 19).