Comment 4 for bug 1434013

Revision history for this message
Marcin Zbik (zbikmarc+launchpad) wrote :

# ceilometer-dbsync --debug
2015-03-19 10:33:32.147 18284 DEBUG ceilometer.storage [-] looking for 'mongodb' driver in 'ceilometer.metering.storage' get_connection /usr/lib/python2.7/site-packages/ceilometer/storage/__init__.py:127
2015-03-19 10:33:32.232 18284 INFO ceilometer.storage.mongo.utils [-] Connecting to mongodb on [('127.0.0.1', 27017)]
2015-03-19 10:33:42.240 18284 DEBUG ceilometer.storage [-] looking for 'mongodb' driver in 'ceilometer.metering.storage' get_connection /usr/lib/python2.7/site-packages/ceilometer/storage/__init__.py:127
2015-03-19 10:33:42.241 18284 INFO ceilometer.storage.mongo.utils [-] Connecting to mongodb on [('127.0.0.1', 27017)]

logs from mongodb.log
2015-03-19T10:33:32.234+0100 I NETWORK [initandlisten] connection accepted from 127.0.0.1:57663 #14 (1 connection now open)
2015-03-19T10:33:32.236+0100 I ACCESS [conn14] authenticate db: ceilometer { authenticate: 1, user: "ceilometer", nonce: "xxx", key: "xxx" }
2015-03-19T10:33:32.237+0100 I ACCESS [conn14] Failed to authenticate ceilometer@ceilometer with mechanism MONGODB-CR: AuthenticationFailed MONGODB-CR credentials missing in the user document
2015-03-19T10:33:42.242+0100 I NETWORK [initandlisten] connection accepted from 127.0.0.1:57664 #15 (2 connections now open)
2015-03-19T10:33:42.244+0100 I ACCESS [conn15] authenticate db: ceilometer { authenticate: 1, user: "ceilometer", nonce: "xxx", key: "xxx" }
2015-03-19T10:33:42.245+0100 I ACCESS [conn15] Failed to authenticate ceilometer@ceilometer with mechanism MONGODB-CR: AuthenticationFailed MONGODB-CR credentials missing in the user document
2015-03-19T10:33:42.245+0100 I NETWORK [conn14] end connection 127.0.0.1:57663 (1 connection now open)