Installing on 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.orei...@dish.com |
| e304b3eaea6f4cb7aa978ad9988c9bc2 | ceilometer |   True  | 
dan.orei...@dish.com |
| 1ecb794f1233411e987cdfec979756e2 |   cinder   |   True  | 
dan.orei...@dish.com |
| 787b6fb05dbf409482617469d50b452c |    demo    |   True  |      DEMO_EMAIL     
 |
| 7be7a87eb25a46e9a91af7709573299b |   glance   |   True  | 
dan.orei...@dish.com |
| bcdc5fe51d244e51a18de349a7250d6f |  neutron   |   True  | 
dan.orei...@dish.com |
| ebf80dc11687408894161c99d0dfb6f6 |    nova    |   True  |   n...@example.com  
 |
+----------------------------------+------------+---------+----------------------+

# keystone user-list
+----------------------------------+------------+---------+----------------------+
|                id                |    name    | enabled |        email        
 |
+----------------------------------+------------+---------+----------------------+
| af4b9c86616643098da670905d1ff91a |   admin    |   True  | 
dan.orei...@dish.com |
| e304b3eaea6f4cb7aa978ad9988c9bc2 | ceilometer |   True  | 
dan.orei...@dish.com |
| 1ecb794f1233411e987cdfec979756e2 |   cinder   |   True  | 
dan.orei...@dish.com |
| 787b6fb05dbf409482617469d50b452c |    demo    |   True  |      DEMO_EMAIL     
 |
| 7be7a87eb25a46e9a91af7709573299b |   glance   |   True  | 
dan.orei...@dish.com |
| bcdc5fe51d244e51a18de349a7250d6f |  neutron   |   True  | 
dan.orei...@dish.com |
| ebf80dc11687408894161c99d0dfb6f6 |    nova    |   True  |   n...@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.conn = 
self.CONNECTION_POOL.connect(url)
2014-06-02 13:58:05.859 5485 TRACE ceilometer   File 
"/usr/lib/python2.6/site-packages/ceilometer/storage/pymongo_base.py", line 
124, in connect
2014-06-02 13:58:05.859 5485 TRACE ceilometer     safe=True)
2014-06-02 13:58:05.859 5485 TRACE ceilometer   File 
"/usr/lib64/python2.6/site-packages/pymongo/mongo_client.py", line 355, in 
__init__
2014-06-02 13:58:05.859 5485 TRACE ceilometer     raise 
ConfigurationError(str(exc))
2014-06-02 13:58:05.859 5485 TRACE 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

Dan O'Reilly
UNIX Systems Administration
[cid:image001.jpg@01CF7E70.5D18D860]
9601 S. Meridian Blvd.
Englewood, CO 80112
720-514-6293


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to