Ask Your Question
1

ceilometer-api fails to start

asked 2014-06-02 15:06:03 -0500

danoreilly gravatar image

RHEL 6.5:

Here's my ceilometer user in mongodb:

show users
{
"_id" : ObjectId("538cd5b4a91190837f8dfefc"),
"user" : "ceilometer",
"pwd" : "ea2607ef865b3f5e98b1a9f3338eb6b2",
"roles" : [
"readWrite",
"dbAdmin"
]
}

...and in keystone:

keystone user-list

+----------------------------------+------------+---------+----------------------+
| id | name | enabled | email |
+----------------------------------+------------+---------+----------------------+
| af4b9c86616643098da670905d1ff91a | admin | True | dan.oreillY@dish.com |
| e304b3eaea6f4cb7aa978ad9988c9bc2 | ceilometer | True | dan.oreilly@dish.com |
| 1ecb794f1233411e987cdfec979756e2 | cinder | True | dan.oreilly@dish.com |
| 787b6fb05dbf409482617469d50b452c | demo | True | DEMO_EMAIL |
| 7be7a87eb25a46e9a91af7709573299b | glance | True | dan.oreilly@dish.com |
| bcdc5fe51d244e51a18de349a7250d6f | neutron | True | dan.oreilly@dish.com |
| ebf80dc11687408894161c99d0dfb6f6 | nova | True | nova@example.com |
+----------------------------------+------------+---------+----------------------+

keystone user-list

+----------------------------------+------------+---------+----------------------+
| id | name | enabled | email |
+----------------------------------+------------+---------+----------------------+
| af4b9c86616643098da670905d1ff91a | admin | True | dan.oreillY@dish.com |
| e304b3eaea6f4cb7aa978ad9988c9bc2 | ceilometer | True | dan.oreilly@dish.com |
| 1ecb794f1233411e987cdfec979756e2 | cinder | True | dan.oreilly@dish.com |
| 787b6fb05dbf409482617469d50b452c | demo | True | DEMO_EMAIL |
| 7be7a87eb25a46e9a91af7709573299b | glance | True | dan.oreilly@dish.com |
| bcdc5fe51d244e51a18de349a7250d6f | neutron | True | dan.oreilly@dish.com |
| ebf80dc11687408894161c99d0dfb6f6 | nova | True | nova@example.com |
+----------------------------------+------------+---------+----------------------+


The debug output from api.log:


2014-06-02 13:58:05.806 5485 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-06-02 13:58:05.806 5485 WARNING keystoneclient.middleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
2014-06-02 13:58:05.807 5485 INFO keystoneclient.middleware.auth_token [-] Using /tmp/keystone-signing-Zebn7H as cache directory for signing certificate
2014-06-02 13:58:05.854 5485 INFO ceilometer.storage.pymongo_base [-] Connecting to mongodb on [('tm1cldctll01', 27017)]
2014-06-02 13:58:05.859 5485 CRITICAL ceilometer [-] ConfigurationError: command SON([('authenticate', 1), ('user', u'ceilometer'), ('nonce', u'8ad73d7341071060'), ('key', u'43a3ec54be5ab39d08e5619821e55dd0')]) failed: auth fails
2014-06-02 13:58:05.859 5485 TRACE ceilometer Traceback (most recent call last):
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/bin/ceilometer-api", line 10, in <module>
2014-06-02 13:58:05.859 5485 TRACE ceilometer sys.exit(api())
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/cli.py", line 96, in api
2014-06-02 13:58:05.859 5485 TRACE ceilometer srv = app.build_server()
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/api/app.py", line 126, in build_server
2014-06-02 13:58:05.859 5485 TRACE ceilometer root = VersionSelectorApplication()
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/api/app.py", line 102, in __init__
2014-06-02 13:58:05.859 5485 TRACE ceilometer self.v2 = setup_app(pecan_config=pc)
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/api/app.py", line 60, in setup_app
2014-06-02 13:58:05.859 5485 TRACE ceilometer storage.get_connection(cfg.CONF),
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/storage/__init__.py", line 87, in get_connection
2014-06-02 13:58:05.859 5485 TRACE ceilometer return get_engine(conf).get_connection
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/storage/impl_mongodb.py", line 82, in get_connection
2014-06-02 13:58:05.859 5485 TRACE ceilometer return Connection(conf)
2014-06-02 13:58:05.859 5485 TRACE ceilometer File "/usr/lib/python2.6/site-packages/ceilometer/storage/impl_mongodb.py", line 428, in __init__
2014-06-02 13:58:05.859 5485 TRACE ceilometer self ...





















(more)

edit retag flag offensive close merge delete

Comments

Can you share us the ceilometer.conf details?

Asif J gravatar imageAsif J ( 2014-10-31 14:14:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-02 22:42:02 -0500

manish gravatar image

were you able to login into the ceilometer db using same credentials after db creation.

edit flag offensive delete link more

Comments

yes i could do that

danoreilly gravatar imagedanoreilly ( 2014-06-05 15:30:35 -0500 )edit

Could you share a solution to get around this issue?

MMC gravatar imageMMC ( 2015-03-06 19:11:09 -0500 )edit

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: 2014-06-02 15:06:03 -0500

Seen: 715 times

Last updated: Jun 02 '14