Ask Your Question
1

Ceilometer Http 500

asked 2013-07-24 05:44:28 -0500

djangoat gravatar image

I was installing Ceilometer using this guide: http://docs.openstack.org/developer/ceilometer/install/manual.html

After I have finished everything, I try to test it by using: ceilometer meter-list and it gives me this error: HTTPInternalServerError (HTTP 500)

Heres what I have on the log:


    root@iaas-hk01:/etc/apache2/sites-enabled# tail -f /var/log/apache2/ceilometer_error.log
    [Wed Jul 24 18:35:48 2013] [error]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 80, in connect
    [Wed Jul 24 18:35:48 2013] [error]     return dialect.connect(*cargs, **cparams)
    [Wed Jul 24 18:35:48 2013] [error] 
    [Wed Jul 24 18:35:48 2013] [error]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 281, in connect
    [Wed Jul 24 18:35:48 2013] [error]     return self.dbapi.connect(*cargs, **cparams)
    [Wed Jul 24 18:35:48 2013] [error] 
    [Wed Jul 24 18:35:48 2013] [error] OperationalError: (OperationalError) unable to open database file None None
    [Wed Jul 24 18:35:48 2013] [error] 
    [Wed Jul 24 18:35:48 2013] [error] [client 192.168.10.16] mod_wsgi (pid=2178): Exception occurred processing WSGI script '/opt/stack/ceilometer/ceilometer/api/app.wsgi'.
    [Wed Jul 24 18:35:48 2013] [error] [client 192.168.10.16] Typ

eError: expected byte string object for header value, value of type int found

I hope someone who could guide me how to fix this.

edit retag flag offensive close merge delete

Comments

2

What database backend have you configured? Your logfile shows that apache can't connect to the database file 'None'. What is the status of your database server process? Is it running?

OperationalError: (OperationalError) unable to open database file None None
svisser_cg gravatar imagesvisser_cg ( 2014-07-09 07:22:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-24 06:34:26 -0500

Try following this guide, in order to see if you have a misconfiguration. The error seems to point out that you do not have a suitable database.

If you do not solve the issue, please pastebin your config files.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-07-24 05:44:28 -0500

Seen: 644 times

Last updated: Sep 24 '15